Search Issue Tracker
Duplicate
Votes
0
Found in
2019.3.0a2
2019.3.0b1
2020.1.0a1
Issue ID
1181797
Regression
No
GameObject references to itself or its Components serialized as [SerializeReference] are not updated when object is cloned
Repro steps:
1. Open user attached project and scene named "PolymorphicSerializationTest"
2. In the Hierarchy, select "PolymorphicSerializationTest" object
3. Right-click and Duplicate the object
4. Select the created duplicate
Expected result: Polymorphic Serialization Test component's Polymorphic Object parameters reference the created duplicate
Actual result: Polymorphic Serialization Test component's Polymorphic Object parameters reference "PolymorphicSerializationTest" object
Reproducible with: 2019.3.0a2, 2019.3.0b6, 2020.1.0a8
Could not test with: 2017.4.33f1, 2018.4.11f1, 2019.2.8f1, 2019.3.0a1 (SerializeReference inaccessible due to its protection level)
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
- Inconsistent NullReferenceException while connecting Edges in the Graph
- Output Decals URP link in Learning Templates directs to HDRP Lit Decal Documentation
- Performing Undo Redo for Convert to Property action creates a ghost Node
- Crash on GameObject::IsActiveIgnoreImplicitPrefab when opening a specific project
- Default Input Action Asset creates unsaved changes when clicking on Button actions
This is a duplicate of issue #1187967