Issue #244 invalid
William Besnard
created an issue

Hi!

I am experiencing regular crashes, which may be related to Odin:

NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.XplatUIWin32.InternalWndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <IL 0x00001, 0x00048> at (wrapper native-to-managed) System.Windows.Forms.XplatUIWin32.InternalWndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <IL 0x00025, 0x0013d> at (wrapper managed-to-native) UnityEditor.AssetDatabase.OpenAsset (int,int) <IL 0x00008, 0x000ad> at UnityEditor.AssetDatabase.OpenAsset (UnityEngine.Object,int) [0x00013] in C:\buildslave\unity\build\artifacts\generated\common\editor\AssetDatabaseBindings.gen.cs:319 at UnityEditor.AssetDatabase.OpenAsset (UnityEngine.Object) [0x00005] in C:\buildslave\unity\build\artifacts\generated\common\editor\AssetDatabaseBindings.gen.cs:313 at UnityEditor.EditorGUI.DoObjectField (UnityEngine.Rect,UnityEngine.Rect,int,UnityEngine.Object,System.Type,UnityEditor.SerializedProperty,UnityEditor.EditorGUI/ObjectFieldValidator,bool,UnityEngine.GUIStyle) [0x00398] in C:\buildslave\unity\build\Editor\Mono\GUI\ObjectField.cs:194 at UnityEditor.EditorGUI.ObjectFieldInternal (UnityEngine.Rect,UnityEditor.SerializedProperty,System.Type,UnityEngine.GUIContent,UnityEngine.GUIStyle) [0x00053] in C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:3168 at UnityEditor.EditorGUI.DefaultPropertyField (UnityEngine.Rect,UnityEditor.SerializedProperty,UnityEngine.GUIContent) [0x001f8] in C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:5666 at UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect,UnityEditor.SerializedProperty,UnityEngine.GUIContent,bool) [0x00118] in C:\buildslave\unity\build\Editor\Mono\ScriptAttributeGUI\PropertyHandler.cs:152 at UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty,UnityEngine.GUIContent,bool,UnityEngine.GUILayoutOption[]) [0x00063] in C:\buildslave\unity\build\Editor\Mono\ScriptAttributeGUI\PropertyHandler.cs:203 at UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty,UnityEngine.GUIContent,bool,UnityEngine.GUILayoutOption[]) [0x0000b] in C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:8018 at UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty,UnityEngine.GUILayoutOption[]) [0x00005] in C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:8000 at Sirenix.OdinInspector.Editor.InspectorUtilities.BeginDrawPropertyTree (Sirenix.OdinInspector.Editor.PropertyTree,bool) [0x00127] in C:\Sirenix\Sirenix Solution\Sirenix.OdinInspector.Editor\Core\Infos\InspectorPropertyInfo.cs:466 at Sirenix.OdinInspector.Editor.PropertyTree.Draw (bool) [0x00000] in C:\Sirenix\Sirenix Solution\Sirenix.OdinInspector.Editor\Utilities\Persistent\PersistentContextCache.cs:182 at Sirenix.OdinInspector.Editor.OdinEditor.OnInspectorGUI () [0x00020] in C:\Sirenix\Sirenix Solution\Sirenix.OdinInspector.Editor\Misc\DrawerPriority.cs:380 at UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[],int,bool,bool&,UnityEngine.Rect&) [0x003d2] in C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1240

UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEditor.InspectorWindow:DrawEditor(Editor[], Int32, Boolean, Boolean&, Rect&) (at C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1247) UnityEditor.InspectorWindow:DrawEditors(Editor[]) (at C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1021) UnityEditor.InspectorWindow:OnGUI() (at C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:362) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.HostView:Invoke(String, Object) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:285) UnityEditor.HostView:Invoke(String) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:278) UnityEditor.HostView:InvokeOnGUI(Rect) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:245) UnityEditor.DockArea:OldOnGUI() (at C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:383) UnityEngine.Experimental.UIElements.IMGUIContainer:DoOnGUI(Event) (at C:\buildslave\unity\build\Runtime\UIElements\Managed\IMGUIContainer.cs:127) UnityEngine.Experimental.UIElements.IMGUIContainer:HandleEvent(EventBase) (at C:\buildslave\unity\build\Runtime\UIElements\Managed\IMGUIContainer.cs:213) UnityEngine.Experimental.UIElements.EventDispatcher:PropagateEvent(VisualElement, EventBase) (at C:\buildslave\unity\build\Runtime\UIElements\Managed\EventDispatcher.cs:343) UnityEngine.Experimental.UIElements.EventDispatcher:DispatchEvent(EventBase, BaseVisualElementPanel) (at C:\buildslave\unity\build\Runtime\UIElements\Managed\EventDispatcher.cs:252) UnityEngine.Experimental.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at C:\buildslave\unity\build\Runtime\UIElements\Managed\UIElementsUtility.cs:207) UnityEngine.Experimental.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Runtime\UIElements\Managed\UIElementsUtility.cs:72) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUIUtility.cs:175)

(Filename: C:/buildslave/unity/build/artifacts/generated/common/editor/AssetDatabaseBindings.gen.cs Line: 319)

Crash!!!

Comments (4)

  1. Log in to comment