Search Issue Tracker

By Design

Votes

0

Found in

2019.3

2019.3.0f1

2020.1

Issue ID

1204105

Regression

No

[SerializeReference] "System.Object" Serialize Reference and Data lost after Play mode

Scripting

-

Reproduction steps:
1. Open the "1204105" project
2. In the Project window right-click -> "Create" -> "Container"
3. In the Inspector window click on the Cog Wheel (Three dots) -> "Print Values"
4. Notice Console output
5. Enter Play mode
6. In the Inspector window click on the Cog Wheel (Three dots) -> "Print Values"
7. Notice Console output

Expected Result: Values are outputted
Actual Result: NULLs are outputted

Reproduced with: 2020.1.0a17, 2019.3.0f3, 2019.3.0a2
Did not reproduce on(Fature not yet implemented): 2019.3.0a1, 2019.2.17f1, 2018.4.14f1, 2017.4.35f1

  1. Resolution Note:

    "System.Object" is not yet supported for "SerializeReference" and we do not intend on supporting it in the short term. Currently, you can use a class, abstract class or interface with "SerializeReference". This will be addressed in the future.

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.