Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

2018.4

2019.3.9f1

2020.2

Issue ID

1240958

Regression

No

Unpack prefab variant loses all references to the prefab

Scene Management

-

How to reproduce:
1. Open the "TestPrefabVariantUnpack" project
2. Open "SampleScene" from Assets > Scenes folder
3. Select "ReferenceToC" GameObject from the Hierarchy window and observe that it has a reference to "MyPrefabC"
4. Open "MyPrefabC" from the Assets folder
5. Right-click "MyPrefabC" in the Hierarchy window
6. Select "Unpack Prefab" ("Prefab" > "Unpack" in 2020.1.0a5 and later versions)
7. Save the Prefab and return to the "SampleScene"
8. Select the "ReferenceToC" GameObject from the Hierarchy window

Expected result: "ReferenceToC" GameObject still has a reference to "MyPrefabC" just like in the 3rd step
Actual result: "ReferenceToC" GameObject no longer has a reference to "MyPrefabC"

Reproducible with: 2018.4.22f1, 2019.3.12f1, 2020.1.0b8, 2020.2.0a9
Could not test with: 2017.4.40f1 and earlier (no Prefab Variants)

Notes:
-The reference is also lost in the "ReferenceToC" Prefab in the Assets folder

  1. Resolution Note:

    This issue will be fixed with picking up the Prefab Instance Replace feature.

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.