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
- [Build Profile] [VisionOS/iOS/tvOS] - Build Player Library button is getting displayed depending on the selected build target
- EnsureRunningOnMainThread error in TessellationJob.ApplyInset
- MultiColumnListView causes a memory leak when repeatedly shown and hidden
- Position Node with Object Space has a wrong value when there are multiple active GameObjects with the same shader
- [URP][RG] Fullscreen blit is not working when Render Graph is enabled
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