Search Issue Tracker

Fixed

Fixed in 2022.1.14f1, 2022.2.0b6

Votes

0

Found in

2022.2.0a9

Issue ID

UUM-1178

Regression

Yes

Undo operation doesn't undo an instance of prefab which was previously deleted and recreated from the same instance

--

-

Steps to reproduce:
1. Create a new project
2. Create a Cube GameObject in Hierarchy
3. Drag the Cube GameObject to the Project View to make it a prefab
4. Delete the created prefab
5. Repeat step 3
6. Undo 3 times, then redo 3 times

Expected results: The scenario is the same as before undoing
Actual results: Two ghost GameObjects have been created in the process which produce "ArgumentNullException: Value cannot be null." when selected

Reproducible with: 2022.1.0a12, 2022.1.0b14, 2022.2.0a9
Not reproducible with: 2019.4.37f1, 2020.3.32f1, 2021.2.17f1, 2022.1.0a11

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.