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
- 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)
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
HiddenMonk
Jun 11, 2015 18:24
Bug is still here in unity 5.0.2f1