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
Comments (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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
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