Unity Issue Tracker - UnassignedReferenceException when reopening a project
Closed
UUM-662
UnassignedReferenceException when reopening a project
Unity: Serialization
Won't Fix
2022.2.X
2022.1.X
2021.3.X
2020.3.X
2022.1 has reached end of life so the issue will be fixed in a newer version.
Reproduction steps:
1. Open the user's attached project
2. Enter Play mode
3. Press the "Update Balance" button and observe the console
4. Exit Play mode
5. Search for "ERC1155BalanceOfExample.cs" in project search and open it
6. Uncomment lines 106 and 107
7. Repeat steps 2, 3 and 4
8. In "ERC1155BalanceOfExample.cs" in the project comment out lines 106 and 107
9. Repeat steps 2 and 3
10 Close and reopen the project and repeat steps 2 and 3
Expected result: Clear console
Actual result: "UnassignedReferenceException" null reference is shown in the console