Search Issue Tracker
Fixed
Votes
1
Found in
5.1.0f2
Issue ID
701370
Regression
No
[UnityEditor] Undo.DestroyObjectImmediate() crashes editor if passed null
Steps to reproduce:
1. Open attached project
2. Open "Editor/HardCrash" script
3. Notice Undo.DestroyObjectImmediate(null)
4. In Unity, select "GameObject/HardCrash" from the editor menu
5. Observe a crash
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Add comment