Null Reference Exception for Custom Editor Window
Editor vesion: 2019.3.0f1
I have made a custom editor window for use with UIElements. When I start the editor, I get the following NullReferenceException inside UnityEditor.DockArea:OnEnable()
It makes no difference if the window is docked or not.
NullReferenceException:Object reference not set to an instance of an object
UnityEditor.DockArea:OnEnable()
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadDefaultWindowPreferences()
Comment
Your answer
Follow this Question
Related Questions
Linux Editor Issue scaling and elements disapearing 0 Answers
chests and looting with ui 1 Answer
Unity UI Problems,Elements Ui have some problems 0 Answers
How load embedded .uxml or .uss resource into dll , 2 Answers
How do you make a UI loot window display only the current chest/corpse that is open? 0 Answers