Search Issue Tracker

Status: Fixed in Unity 5.6.0

Votes

1

Found in

3.3.0f3

Issue ID

399555

Regression

No

Unity crashes when calling DestroyImmediate(this) in Editor script

Scripting

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 1Crash or major loss of functionality

- 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. 89b52fc83ede5114988fe354f3b7df9e?d=mm

    HiddenMonk

    Jun 11, 2015 18:24

    Bug is still here in unity 5.0.2f1

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.