Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X
Votes
1
Found in
2019.4
2019.4.11f1
2021.1
Issue ID
1287352
Regression
No
Prefab relations break when unpacking outermost Prefab in nested Prefabs
How to reproduce:
1. Open attached project "1287352.zip"
2. Open "SampleScene" Scene
3. In Hierarchy window > Click on "Prefab1"
4. In Inspector window > Click on "Something" component
5. Notice which Prefab gets highlighted
6. Repeat 3-5 steps with "Prefab2" and "Prefab3"
7. Unpack "Prefab1"
8. Repeat 3-5 steps with "Prefab1", "Prefab2" and "Prefab3"
9. Save the Scene
10. Open "New Scene" Scene
11. Open "SampleScene" Scene
12. Repeat 3-4 steps with "Prefab1", "Prefab2" and "Prefab3"
13. Notice which things get highlighted
Expected result: Consistency before and after saving the Scene. "Prefab Pointer" referring to Prefabs in the same location.
Actual result: "Something" component in "Prefab Pointer" is referring to Prefabs in the Scene before saving the Scene. After saving the Scene, "Something" component in "Prefab Pointer" is referring to Prefabs in the Assets folder ("Prefab2" is referring to "Prefab3" and it can't found it in the Assets folder for some reason)
Reproducible with: 2019.4.14f1, 2020.1.13f1, 2020.2.0b11, 2021.1.0a3
Not reproducible with: 2021.1.0a5
Couldn't test with: 2018.4 (couldn't downgrade project)
Note: Highly recommend to watch the attached video, because steps can be quite confusing and they are much more clear in the video
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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a4
Resolution Note (fix version 2019.4):
Fixed in 2019.4.16f1