Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.2.X
Votes
0
Found in
2019.4
2020.1.11f1
2021.1
Issue ID
1295396
Regression
No
Type.GetField() works differently in IL2CPP from Mono
Reproduction steps:
1. Open attached project "Test_Reflection.zip" and scene "SampleScene"
2. Enter Play Mode
3. Observe Game View text lines
4. Exit Play Mode
5. Build and Play project using IL2CPP
6. Observe opened build
Expected result: No differences
Actual result: "Fields are different" line in Editor, "Fields are identical" line in build
Reproducible with: 2019.4.16f1, 2020.1.16f1, 2020.2.0b14, 2021.1.0a8
Could not test with: 2018.4.30f1 (console errors break project)
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
- The Editor becomes unresponsive and memory allocation errors are spammed in the Console when Generating Lightning
- Crash on BatchApplyPropertiesFromSourceAssetDB when opening a specific project
- Scene view Camera cannot be moved with WASD/QE keys when the Right Mouse Button is held down and the Mouse is not moved
- Crash when calling default interface method from virtual method with same name
- [Android] Unity does not include the ".aab" extension for an AppBundle when it is built via script with the buildPlayerOptions.locationPathName = "AppName.apk" and EditorUserBuildSettings.buildAppBundle = true
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a1
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0b3
Resolution Note (fix version 2020.2):
Fixed in 2020.2.4f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.21f1