ArcadiaState editor does not handle new keys correctly
nasser opened this issue · comments
(state+ some-object :foo :bar)
;; look at inspector
(state+ some-object :baz :qux)
;; look at inspector
IndexOutOfRangeException: Index was outside the bounds of the array.
ArcadiaStateEditor.OnInspectorGUI () (at Assets/Arcadia/Editor/CustomEditorInspectors.cs:173)
UnityEditor.InspectorWindow.DoOnInspectorGUI (System.Boolean rebuildOptimizedGUIBlock, UnityEditor.Editor editor, System.Boolean wasVisible, UnityEngine.Rect& contentRect) (at /home/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1625)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
The cached array for foldouts does not get updated properly.