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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment