Support Forum

ExitGUIException: Exception of type 'UnityEngine.ExitGUIException' was thrown

When I open any script in the inspector panel, I get an error from Consle

ExitGUIException: Exception of type ‘UnityEngine.ExitGUIException’ was thrown.
UnityEngine.GUIUtility.ExitGUI () (at <5a00c575c9464227a3227baf016d387b>:0)
UnityEditor.EditorGUI.DoObjectField (UnityEngine.Rect position, UnityEngine.Rect dropRect, System.Int32 id, UnityEngine.Object obj, UnityEngine.Object objBeingEdited, System.Type objType, System.Type additionalType, UnityEditor.SerializedProperty property, UnityEditor.EditorGUI+ObjectFieldValidator validator, System.Boolean allowSceneObjects, UnityEngine.GUIStyle style, UnityEngine.GUIStyle buttonStyle, System.Action1[T] onObjectSelectorClosed, System.Action1[T] onObjectSelectedUpdated) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.DoObjectField (UnityEngine.Rect position, UnityEngine.Rect dropRect, System.Int32 id, UnityEngine.Object obj, UnityEngine.Object objBeingEdited, System.Type objType, System.Type additionalType, UnityEditor.SerializedProperty property, UnityEditor.EditorGUI+ObjectFieldValidator validator, System.Boolean allowSceneObjects, UnityEngine.GUIStyle style) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.DoObjectField (UnityEngine.Rect position, UnityEngine.Rect dropRect, System.Int32 id, UnityEngine.Object obj, UnityEngine.Object objBeingEdited, System.Type objType, UnityEditor.SerializedProperty property, UnityEditor.EditorGUI+ObjectFieldValidator validator, System.Boolean allowSceneObjects, UnityEngine.GUIStyle style) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.DoObjectField (UnityEngine.Rect position, UnityEngine.Rect dropRect, System.Int32 id, System.Type objType, UnityEditor.SerializedProperty property, UnityEditor.EditorGUI+ObjectFieldValidator validator, System.Boolean allowSceneObjects, UnityEngine.GUIStyle style) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.ObjectFieldInternal (UnityEngine.Rect position, UnityEditor.SerializedProperty property, System.Type objType, UnityEngine.GUIContent label, UnityEngine.GUIStyle style, UnityEditor.EditorGUI+ObjectFieldValidator validator) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.DefaultPropertyField (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
Pathfinding.EditorBase.PropertyField (UnityEditor.SerializedProperty prop, System.String label, System.String tooltip, System.String propertyPath) (at Assets/AstarPathfindingProject/PackageTools/Editor/EditorBase.cs:155)
Pathfinding.EditorBase.PropertyField (System.String propertyPath, System.String label, System.String tooltip) (at Assets/AstarPathfindingProject/PackageTools/Editor/EditorBase.cs:144)
Pathfinding.EditorBase.Inspector () (at Assets/AstarPathfindingProject/PackageTools/Editor/EditorBase.cs:118)
Pathfinding.EditorBase.OnInspectorGUI () (at Assets/AstarPathfindingProject/PackageTools/Editor/EditorBase.cs:94)
UnityEngine.Debug:LogException(Exception, Object)
Pathfinding.EditorBase:OnInspectorGUI() (at Assets/AstarPathfindingProject/PackageTools/Editor/EditorBase.cs:96)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)