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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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