Not sure this error has anything to do with ORK, but wondering if anyone has run into it before:

ArgumentException: Getting control 4's position in a group with only 4 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at <2500dd078a544a69b6c923861af6cd15>:0)
UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <2500dd078a544a69b6c923861af6cd15>:0)
UnityEngine.GUILayoutUtility.GetRect (System.Single width, System.Single height, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <2500dd078a544a69b6c923861af6cd15>:0)
UnityEngine.GUILayout.FlexibleSpace () (at <2500dd078a544a69b6c923861af6cd15>:0)
ORKFramework.Editor.EditorTextAreaControl.Edit (System.String name, System.String& text, System.String helpText, System.String helpInfo, ORKFramework.Editor.BaseEditor baseEditor, System.Int32 optionType) (at :0)
ORKFramework.Editor.ORKEditor.TextArea (System.String name, System.String& text, ORKFramework.Editor.EditorTextAreaControl& control, System.Int32 optionType, System.String helpText, System.String helpInfo, ORKFramework.Editor.BaseEditor baseEditor) (at :0)
ORKFramework.Editor.BaseEditor.TextArea (System.String name, System.String& text, System.String helpText, System.String helpInfo, System.Int32 optionType) (at :0)
ORKFramework.Editor.EditorAutomation.Value (System.Object& value, System.Reflection.FieldInfo fieldInfo, System.Type type, ORKFramework.AttributeHelper attributes, System.String[] text, ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor) (at :0)
ORKFramework.Editor.EditorAutomation.Field (System.Reflection.FieldInfo fieldInfo, ORKFramework.AttributeHelper attributes, ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor) (at :0)
ORKFramework.Editor.EditorAutomation.Automate (System.Reflection.FieldInfo fieldInfo, ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor, System.Boolean ignoreHide, ORKFramework.AttributeHelper attributes) (at :0)
ORKFramework.Editor.EditorAutomation.Automate (ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor) (at :0)
ORKFramework.Editor.EditorAutomation.Value (System.Object& value, System.Reflection.FieldInfo fieldInfo, System.Type type, ORKFramework.AttributeHelper attributes, System.String[] text, ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor) (at :0)
ORKFramework.Editor.EditorAutomation.Value (System.Object& value, System.Reflection.FieldInfo fieldInfo, System.Type type, ORKFramework.AttributeHelper attributes, System.String[] text, ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor) (at :0)
ORKFramework.Editor.EditorAutomation.Field (System.Reflection.FieldInfo fieldInfo, ORKFramework.AttributeHelper attributes, ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor) (at :0)
ORKFramework.Editor.EditorAutomation.Automate (System.Reflection.FieldInfo fieldInfo, ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor, System.Boolean ignoreHide, ORKFramework.AttributeHelper attributes) (at :0)
ORKFramework.Editor.EditorAutomation.Automate (System.String name, ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor, System.Boolean ignoreHide) (at :0)
ORKFramework.Editor.EditorAutomation.Automate (ORKFramework.IBaseData instance, ORKFramework.Editor.BaseEditor baseEditor) (at :0)
ORKFramework.Editor.StatusValuesTab.ShowSettings () (at :0)
ORKFramework.Editor.StatusValuesTab.ShowTab () (at :0)
ORKFramework.Editor.ORKEditorSection.ShowTab () (at :0)
ORKFramework.Editor.ORKEditorWindow.OnGUI () (at :0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at :0)
UnityEditor.MaximizedHostView.OldOnGUI () (at :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 :0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at :0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at :0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at :0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at :0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at :0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at :0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at :0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at :0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at :0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at :0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at :0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <2500dd078a544a69b6c923861af6cd15>:0)
  • Generally, this error comes up when something changed unexpectedly during Unity's editor UI handling, e.g. layout phase expects 4 buttons but there are only 3 now.

    Where did you get the error? Somewhere in ORK's editor or in an ORK component inspector?
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.