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
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a4
Resolution Note (fix version 2019.4):
Fixed in 2019.4.16f1