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
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
- Image is distorted when VisualElement is scaled and Scale Mode set to scale-and-crop
- Euler angles return different values during Animation Event when using Playables API and the time is 0
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a5