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

Serialization

-

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.

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.2.0a1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.