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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
HiddenMonk
Jun 11, 2015 18:24
Bug is still here in unity 5.0.2f1