playMaker

Author Topic: Debug state view of variables visual bug  (Read 2111 times)

thatnzguy

  • Playmaker Newbie
  • *
  • Posts: 43
Debug state view of variables visual bug
« on: July 05, 2015, 06:03:06 PM »
1) What happened

Setting up specific actions in a specific order with the debug checkbox checked causes console error spam and the Playmaker Editor window to be blank.


Error:
ArgumentException: Getting control 21's position in a group with only 21 controls when doing ExecuteCommand
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at C:/buildslave/unity/build/artifacts/EditorGenerated/GUILayoutUtility.cs:513)
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type LayoutType) (at C:/buildslave/unity/build/artifacts/EditorGenerated/GUILayoutUtility.cs:208)
UnityEditor.EditorGUILayout.BeginHorizontal (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:5869)
UnityEditor.EditorGUILayout.BeginHorizontal (UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:5848)
UnityEditor.EditorGUILayout.LabelField (UnityEngine.GUIContent label, UnityEngine.GUIContent label2, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:4782)
UnityEditor.EditorGUILayout.HelpBox (System.String message, MessageType type) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:5776)
HutongGames.PlayMakerEditor.StateInspector.DoActionsListGUI (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMakerEditor.StateInspector.DoActionsPanel ()
HutongGames.PlayMakerEditor.StateInspector.OnGUI ()
HutongGames.PlayMakerEditor.InspectorPanel.OnGUI (Rect area)
HutongGames.PlayMakerEditor.FsmEditor.OnGUI ()
HutongGames.PlayMakerEditor.FsmEditorWindow.DoGUI () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:108)
HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
UnityEditor.EditorWindow:SendEvent(Event)
HutongGames.PlayMakerEditor.FsmEditor:Update()
HutongGames.PlayMakerEditor.FsmEditorWindow:Update() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:347)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()


2) How can we reproduce it
-Add the Curvy package
-Create a new FSM
-Add Curvy Follow Spline action to the first state
-Set Store Direction to some variable
-Add Int Compare action beneath the Curvy Follow Spline
-Enable 'debug' playmaker checkbox.
-Click off the state and back on, the console will receive errors and the playmaker window will be blank

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Debug state view of variables visual bug
« Reply #1 on: July 16, 2015, 09:05:39 AM »
Hi,

 That's typical from a problem with the custom inspector UI setup. Have you contacted the author of curvy?

Bye,

 Jean