Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b13
Issue ID
786235
Regression
Yes
NullReferenceException when trying to close a custom window no longer present in the project
Steps to reproduce :
- import the Full Inspector package https://www.assetstore.unity3d.com/en/#!/content/14913
- go to Window > Full Inspector > Developer > Editor Images Manager
- delete the package from the Project Browser
- try to close the empty window and notice the error
*Note :
Right click on the tab doesn't work, needs to be closed with the little 3 lines menu.
This used to work before.
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorWindow.Close () (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorWindow.cs:679)
UnityEditor.DockArea.Close (System.Object userData) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:376)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, Int32 selected) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/GenericMenuBindings.gen.cs:122)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment