playMaker

Author Topic: ArgumentException: Getting control 1's position error while searching ecosystem  (Read 1230 times)

Tanner

  • Playmaker Newbie
  • *
  • Posts: 2
Hi guys, I've downloaded the Playmaker Ecosystem 6.11 today and use it with Unity 2021.3.19.f1. The funny part is that I get the following error while searching for an action in the ecosystem: ArgumentException: Getting control 1's position in a group with only 1 controls when doing repaint

It seems it does not do any harm and I only ever get said error during the first search after a fresh startup. It can be cleared after and will not reappear during the session. Still, it would be nice to have a fix issued some time in the future, as I caught me offguard and I spent a good while researching if something was wrong with my project.

The full error:

ArgumentException: Getting control 1's position in a group with only 1 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at <2880c19c3b344d8cb20d5ad03e3efbe5>:0)
UnityEngine.GUILayoutUtility.BeginLayoutArea (UnityEngine.GUIStyle style, System.Type layoutType) (at <2880c19c3b344d8cb20d5ad03e3efbe5>:0)
UnityEngine.GUILayout.BeginArea (UnityEngine.Rect screenRect, UnityEngine.GUIContent content, UnityEngine.GUIStyle style) (at <2880c19c3b344d8cb20d5ad03e3efbe5>:0)
UnityEngine.GUILayout.BeginArea (UnityEngine.Rect screenRect) (at <2880c19c3b344d8cb20d5ad03e3efbe5>:0)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser.OnGUI_ItemList () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:1944)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser.OnGUI_Main () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:814)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser.OnGUI () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:1134)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <7fef092428a04dc89d2aa6ad3ce5d856>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <7fef092428a04dc89d2aa6ad3ce5d856>:0)
UnityEditor.DockArea.OldOnGUI () (at <7fef092428a04dc89d2aa6ad3ce5d856>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <875b37995cee43cdaeb0e3c5cc262e4c>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean&

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Hi.
The error is a editor ui layout issue, you can ignore it.

Tanner

  • Playmaker Newbie
  • *
  • Posts: 2
Thanks! That's good to know  :)