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
- APV data is sometimes incorrectly loaded from multiple baking sets when loading a scene
- GC Alloc spikes occur when calling UnityEngine.Resolution and UnityEngine.RefreshRate with Equals() and GetHashCode()
- Type error is thrown when a new ComputeShader is instantiated after destroying previous ComputeShader
- APV data becomes incorrect when reselecting the currently active Baking Set
- Launch screen image exceeds the screen bounds on IPad when building for iOS
Resolution Note (fix version 2022.1):
Fixed in: 2022.2.0a1