Null exception spam

Issue #423 open
po shih tsang created an issue

my Unity 2018.2.6f1 Froze so I Task ended it, and next boot up whenever I select a gameobject, this follow error is throwing at framerate:

NullReferenceException: Object reference not set to an instance of an object
Sirenix.Utilities.Editor.GUIHelper.get_CurrentWindow () (at D:/Sirenix/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIHelper.cs:360)
Sirenix.Utilities.Editor.GUIHelper.RepaintIfRequested (UnityEditor.Editor editor) (at D:/Sirenix/Sirenix Solution/Sirenix.Utilities.Editor/GUI/GUIHelper.cs:1148)
Sirenix.OdinInspector.Editor.OdinEditor.DrawOdinInspector () (at <3c01eaab89c14020b3768bdc5f54b1bb>:0)
Sirenix.OdinInspector.Editor.OdinEditor.OnInspectorGUI () (at D:/Sirenix/Sirenix Solution/Sirenix.OdinInspector.Editor/Core/Value Entries/PropertyValueEntry.cs:173)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, System.Int32 editorIndex, System.Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1367)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

I closed unity and boot up again seems like the error went away,

Comments (3)

  1. po shih tsang reporter

    unity froze was due to infinite while loop.

    the null exception wasn’t reproduced the next few time i force shutdown while debugging the infinite while loop

  2. Log in to comment