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
- Error “NullReferenceException: Object reference not set to an instance of an object“ is present when the UI Toolkit Debugger window is docked and inactive on Editor launch
- RenderTexture pixels are gray when created without drawing on macOS
- Slider disappears when the Baked Lightmap Viewer window is at its minimum size
- Crash on 'TransformParticleMesh' when setting Particles in PlayMode
- UI Toolkit Window popups are cropped when using an UHD monitor coupled with a lower resolution monitor
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a5