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

Assets Management

-

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

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.