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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Add comment