[Resolved] Editor Utilities Custom Inspector Builder error

Home Forums Support Editor Utilities Editor Utilities Custom Inspector Builder error

This topic contains 1 reply, has 2 voices, and was last updated by  Chloroplast Games 1 year, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #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)


    We are working to fix it.


    We have solved the error. We have marked this topic as resolved.
    We will upload a update of Editor Utilities – Custom Inspector Builder to Asset Store.

    This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.