Search Issue Tracker

Fixed in 5.6.0f3

Votes

1

Found in

3.3.0f3

Issue ID

399555

Regression

No

Unity crashes when calling DestroyImmediate(this) in Editor script

Scripting

-

- Create an editor script (e.g. inspector window for a component) which calls DestroyImmediate(this)
- Add this component to a game object in the hierarchy
- Crash

Comments (1)

  1. HiddenMonk

    Jun 11, 2015 18:24

    Bug is still here in unity 5.0.2f1

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.