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
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
Add comment