Home › Forums › Support › Editor Utilities › Editor Utilities Custom Inspector Builder error
This topic contains 3 replies, has 2 voices, and was last updated by Chloroplast Games 4 months, 3 weeks ago.
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)
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.
You must be logged in to reply to this topic.
Creative and independent game studio where games have soul.
Copyright © 2018 Chloroplast Games. All rights reserved. Property of ChloroSoft. Admin