Search Issue Tracker
By Design
Votes
0
Found in
5.2.0f2
Issue ID
722346
Regression
No
[Undo] DestroyObjectImmediate does not restore scriptableObjects when undoing
To reproduce:
1. Open attached project
2. Open crime scene
3. Enter play mode
4. Notice the logs in the console. A scriptable object is created. It is checked for null (returns false). DestroyObjectImmediate is called. PerformUndo is called. The object is again check for null. This time it returns true - the object has not been restored.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment