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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (fix version 2022.1):
Fixed in: 2022.2.0a1