Search Issue Tracker
Fixed in 2022.1.X
Votes
2
Found in
2018.4
2019.4
2020.3
2021.1
2021.2
2021.2.0a20
Issue ID
1342327
Regression
No
JsonUtility fails to update Object references when running the test on Standalone build and using instanceID
How to reproduce:
1. Open attached project "TestJSON.zip"
2. Open Test Runner window
3. Select PlayMode in the Test Runner window
4. Click Run All Tests to run the test on Standalone player
Expected result: Test does not fail
Actual result: Test fails
Reproducible with - 2018.4.35f1, 2019.4.28f1, 2020.3.11f1, 2021.1.11f1, 2021.2.0a20
Notes:
Changing the name of the field from instanceID to m_FileID solves the issue.
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
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
- [tvOS] "EXC_BAD_ACCESS" error is thrown when Painter2D.ClosePath is called
- Bad Naming Convention in Shortcuts Window for Sprite Shape Editing
- Bad Naming Convention in Shortcuts Window for Shader Graph
- Bad Naming Convention in Shortcuts Window for Particle System
Resolution Note (fix version 2022.1):
Fixed in: 2022.2.0a1