Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: westingtyler on December 17, 2017, 02:10:56 AM

Title: Error: Getting control 2's position in a group with only 2 controls
Post by: westingtyler on December 17, 2017, 02:10:56 AM
Hello. I updated to playmaker 1.8.5 using Unity 2017.2

After updating the DrawLine.cs from the ecosystem to end a yellow error about it, it added it to a folder called Effects in the project heirarchy in the custom actions folder. then there were two copies of DrawLine.cs, one in the Effects sub folder and the old one in the Custom Actions Folder, creating an error about something already being defined. so I deleted the old one. Both .cs files said version 1.1 in them.

Now I get this red error: "ArgumentException: Getting control 2's position in a group with only 2 controls when doing Repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/LayoutGroup.cs:115)
UnityEngine.GUILayoutUtility.BeginLayoutArea (UnityEngine.GUIStyle style, System.Type layoutType) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayoutUtility.cs:344)
UnityEngine.GUILayout.BeginArea (Rect screenRect, UnityEngine.GUIContent content, UnityEngine.GUIStyle style) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayout.cs:364)
UnityEngine.GUILayout.BeginArea (Rect screenRect) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayout.cs:346)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser.OnGUI_ItemList () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:1977)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser.OnGUI_Main () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:836)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser.OnGUI () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:1153)
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:285)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:278)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:245)
"
Title: Re: Error: Getting control 2's position in a group with only 2 controls
Post by: djaydino on December 17, 2017, 08:05:23 AM
Hi,
Code: [Select]
ArgumentException: Getting control 2's position in a group with only 2 controls when doing Repaint
Aborting
The error is a harmless (repaint) bug on the Ecosystem but it should not affect your project.
Is playmaker still working?

When you clear, are there still red errors?
Title: Re: Error: Getting control 2's position in a group with only 2 controls
Post by: westingtyler on December 19, 2017, 01:32:58 AM
everything works, and there are no red errors.

but is this repaint bug something that will someday be fixed? even having yellow warnings hurts my feelings in the console.