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:

  1. Create any primitive (e.g. a Cube)
  2. Drag the primitive to the Project Window to create a prefab
  3. Create any other primitive (e.g. a Sphere)
  4. Drag this primitive under the initial prefab to make it a child of the prefab
  5. Select the initial prefab
  6. Click on Overrides in the Inspector
  7. 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

  1. Resolution Note:

    Reverting overrides is a destructive action: properties change and added Components and GameObjects gets destroyed.

Add comment

Log in to post comment