Search Issue Tracker
Duplicate
Votes
0
Found in
5.2.0b3
Issue ID
718332
Regression
No
Editor crashes when passing null object to UnityEditor.Undo.DestroyObjectImmediate
Just call UnityEditor.Undo.DestroyObjectImmediate (null); in the Start() method of a script attached to a GameObject and Unity will crash.
Not a regression. Verified reproducible in Unity 5.0, 5.1, 5.2
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
This is a duplicate of issue #701370