Unity Issue Tracker - SerializeReference working incorrectly when using Prefab Variant
Fixed
UUM-16434
SerializeReference working incorrectly when using Prefab Variant
Unity: Serialization
Fixed
2023.1.X
2022.2.X
2022.2.0a4 onwards
Won't Fix
2021.3.X
Fixed in: 2022.2.3f1
Doesn't reproduce in latest 2021.3
Reproduction steps:
Open the attached project(“VarianSerializationBug.zip“)
Select Scene Assets/Scenes/SampleScene
Select Assets/Variant
Observe ReordableList in the “Test (Script)” Component
Expected results: In the ReordableList “Element 0” and “Element 1“ values are the same
Actual results: ReordableList item “Element 1” is incorrect
Reproducible with: 2022.2.0a4, 2022.2.0b9, 2023.1.0a12
Not reproducible with: 2021.3.11f1, 2022.1.19f1, 2022.2.0a3
Couldn't test with: 2020.3.40f1(The list of [SerializeReference] objects being deserialized is from a more recent version of Unity. This is not supported and objects will be skipped.)
Reproduced on: Windows 11
Prioritise and Follow this issue
Have a workaround or additional info about this issue?