Search Issue Tracker

Duplicate

Votes

0

Found in

2021.2.0a9

2021.3

2021.3.0f1

2022.1

Issue ID

1417846

Regression

Yes

Redoing/undoing prefab variant with nested prefab creation creates an override for the nested prefab changes

Scene Management

-

Steps to reproduce:
1. Create a new project or open an existing one
2. Create a Cube GO in the Hierarchy
3. Drag the Cube GO to Assets window to make it a prefab
4. Create an empty Prefab in Assets (Right-click -> Create -> Prefab)
4. Drag and drop the created prefab on the Cube GO to nest it
5. Apply the override to the Cube GO
6. Enter Prefab editing mode on Cube GO and move the nested prefab to change its transform (make sure to save it)
7. Exit the prefab editing mode and go back to the scene
8. Drag and drop the Cube prefab to the Assets window again to make it a Prefab Variant
9. Undo past the nesting and then redo it

Expected results: No new overrides on Prefab Variant GO instance
Actual results: A nested prefab transform override appears on the Prefab Variant GO

Reproducible with: 2021.2.0a9, 2021.3.0f1, 2022.1.0a11
Not reproducible with: 2021.2.0a8, 2022.1.0b12, 2022.1.0a12, 2022.2.0a10

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.