Search Issue Tracker
By Design
Votes
0
Found in
2020.1.0a1
Issue ID
UUM-15338
Regression
No
Reverting a child object added to a Prefab deletes the child object from the Scene completely
Steps to reproduce:
- Create any primitive (e.g. a Cube)
- Drag the primitive to the Project Window to create a prefab
- Create any other primitive (e.g. a Sphere)
- Drag this primitive under the initial prefab to make it a child of the prefab
- Select the initial prefab
- Click on Overrides in the Inspector
- Click Revert All
Expected result: the parent object isn't completely deleted, but is reverted to its original location in the Hierarchy
Actual result: the object disappears from the Scene completely
Reproducible with: 2023.1.0a12, 2022.2.0a1, 2022.1.0a1. 2019.4.20f1
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
- Depth of Field doesn't apply correctly to Canvas UI when it is set to World Space Render Mode
- Crash on GetElementMapKey when "None" is assigned to a field with binding path "m_GameObject"
- Stereoscopic skybox renders as monoscopic when using Multi-pass render mode in XR plugin while using URP
- Parameterized Tests with ValueSource fail when supplied parameter is an System.Object
- Error Message "Broken text PPtr in file" is not informative enough to locate the problematic asset
Resolution Note:
Reverting overrides is a destructive action: properties change and added Components and GameObjects gets destroyed.