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
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Add comment