Search Issue Tracker
Duplicate
Votes
2
Found in
2019.3.0a2
2020.1
Issue ID
1188137
Regression
No
[SerializeReference] SerializeReference re-creates objects when they are edited in the inspector
Reproduction steps:
1. Open "1203135" project
2. Add "TestBehaviour" to the Scene
3. In the Console window notice "recordedReference == data ? True"
4. In the "TestBehaviour" script instance change the "Change Me" value to something else
5. In the Console window notice "recordedReference == data ? False"
Expected Result: Changing an unrelated value, does not modify a "SerializeReference" value
Actual Result: Changing an unrelated value, modifies a "SerializeReference" value from the same script
Reproduced with: 2020.1.0a16, 2019.3.0f3, 2019.3.0f1, 2019.3.0b1, 2019.3.0a12, 2019.3.0a5, 2019.3.0a2
Did not reproduce on("SerializeReference" is not yet implemented): 2019.3.0a1, 2019.2.16f1, 2018.4.14f1, 2017.4.35f1
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1193322