[Resolved] Editor Utilities Custom Inspector Builder error

Adventure Forums Editor Utilities Custom Inspector Builder error

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1296

    I’m getting this error when using the demo scene. Clicked on the “List” enum. Clicked on Add or Update (probably other buttons too). Behavior gets a bit strange after this error appears.

    NullReferenceException: Object reference not set to an instance of an object
    Assets.CGF.Editor.CGFEditorUtilitiesClass+<BuildListCustom>c__AnonStorey5.<>m__1 (Rect rect, Int32 index, Boolean isActive, Boolean isFocused) (at Assets/CGF/Editor/CGFEditorUtilitiesClass.cs:13338)
    UnityEditorInternal.ReorderableList.DoListElements (Rect listRect) (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:582)
    UnityEditorInternal.ReorderableList.DoLayoutList () (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:389)
    Assets.CGF.Editor.CGFEditorUtilitiesClass.BuildListCustom (UnityEditor.SerializedProperty property, UnityEditorInternal.ReorderableList list, System.String listName, Boolean vertical, UnityEditor.SerializedProperty enumLocker, System.Int32[] enumValues, System.Int32[] propertySpace, System.String[] properties) (at Assets/CGF/Editor/CGFEditorUtilitiesClass.cs:13399)
    Assets.CGF.Samples.Editor.EditorUtilitiesSampleScriptEditor.OnInspectorGUI () (at Assets/CGF/Samples/Editor/EditorUtilitiesSampleScriptEditor.cs:280)
    UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1240)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.