Search Issue Tracker
Fixed in 2022.1.X
Votes
1
Found in
2018.4
2019.3.0b8
2020.1
Issue ID
1196074
Regression
No
Root Prefab is removed from Prefab hierarchy when replacing a Prefab Variant with a new GameObject with root Prefab as its child
How to reproduce:
1. Open the attached project "1196074.zip"
2. Drag the Replacer GameObject on to Root Variant Prefab and select Replace Anyway
Expected result: New Prefab Variant keeps the same GameObject hierarchy as the Replacer GameObject had
Actual result: New Prefab Variant removes the Root Prefab from the hierarchy and sets its children as Replacer GameObject's children
Reproducible with: 2018.4.13f1, 2020.1.0a15
Notes:
Multiple Console errors are thrown when replacing the Prefab Variant.
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
- Longer component titles overlap navigation arrow in the "Add Component" window
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a5