Search Issue Tracker
By Design
Votes
0
Found in
5.4.1f1
Issue ID
843689
Regression
No
[IL2CPP] transform.GetType().GetProperties does not return some of the properties with IL2cpp
Steps to reproduce:
1) Open the attached project.
2) Build for iOS or Android with IL2cpp as the scripting backend.
3) Run on a device.
Check the output log - only some properties returned by transform.GetType().GetProperties get printed out. If all the properties are read correctly, a cube in the scene turns red and is offset from the center (which doesn't happen with IL2cpp).
The missing properties are:
particleSystem, particleEmitter, hingeJoint, collider 2D, collider, guiTexture, guiElement, networkView, guiText, audio, renderer, constantForce, animation, light camera, rigidbody2D, rigidbody, root, localToWorldMatrix, worldToLocalMatrix, parentInternal, parent, localScale, rotationOrder, localRotation, rotation, forward, up, right, localEulerAngles, eulerAngles, localPosition, position.
Reproduces on both iOS and Android.
Reproduced on:
5.5.0b9, 5.4.2p1, 5.3.6p8, 5.2.4f1
Devices tested:
iPhone 7 iOS 10.1
Nexus 5X Android 6.0.1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
pansimula
Sep 24, 2020 05:42
In Unity 2020.1.6.f1 getting the emission modules properties through GetProperties does not return the same results with a IL2CPP build. RateOverDistance is missing for example, "enabled, rateOverTime, rateOverTimeMultiplier" are the only ones found