Search Issue Tracker


Planned for 2022.1.X, 2022.2.X



Found in


Issue ID




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.