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

Asset - Importers

-

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

Log in to post comment