Skip to content

QA WAR - 2021 mac, content imgui error #4478

@cdhanna

Description

@cdhanna

Unity version: 2021.3.19fPlatform: MacError Description: When I revert a content change through the publish window, I get the error below. Reverting the change through the main content window works fine

ArgumentException: Getting control 5's position in a group with only 5 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/LayoutGroup.cs:127)
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUILayoutUtility.cs:329)
UnityEngine.GUILayout.BeginVertical (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUILayout.cs:279)
UnityEngine.GUILayout.BeginVertical (UnityEngine.GUILayoutOption[] options) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUILayout.cs:271)
Beamable.Editor.BeamCli.UI.LogHelpers.LogUtil.DrawSearchBar (Beamable.Editor.UI.IDelayedActionWindow window, Beamable.Editor.BeamCli.UI.LogHelpers.SearchData searchData, System.Boolean isVerticallyCentered, System.String textFieldName) (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/BeamCli/UI/LogUtil/LogViewUtil.cs:601)
Beamable.Editor.UI.ContentWindow.ContentWindow.DrawTopBarHeader () (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/UI/ContentWindow/ContentWindow_Header.cs:184)
Beamable.Editor.Util.BeamGUI.DrawHeaderSection (UnityEditor.EditorWindow window, Beamable.BeamEditorContext context, System.Action drawTopBarGui, System.Action`1[T] drawLowBarGui, System.Action onClickedHelp, System.Action onClickedRefresh) (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/UI/BeamGUI/BeamGUI_Header.cs:39)
Beamable.Editor.UI.ContentWindow.ContentWindow.<DrawHeader>b__70_0 () (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/UI/ContentWindow/ContentWindow_Header.cs:107)
Beamable.Editor.Util.BeamGUI+<>c__DisplayClass10_0.<ShowDisabled>b__0 () (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/UI/BeamGUI/BeamGUI_Enabled.cs:13)
Beamable.Editor.Util.BeamGUI.ShowDisabled[T] (System.Boolean enabled, System.Func`1[TResult] onGui) (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/UI/BeamGUI/BeamGUI_Enabled.cs:23)
Beamable.Editor.Util.BeamGUI.ShowDisabled (System.Boolean enabled, System.Action onGui) (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/UI/BeamGUI/BeamGUI_Enabled.cs:11)
Beamable.Editor.UI.ContentWindow.ContentWindow.DrawHeader () (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/UI/ContentWindow/ContentWindow_Header.cs:105)
Beamable.Editor.UI.ContentWindow.ContentWindow.DrawGUI () (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/UI/ContentWindow/ContentWindow.cs:175)
Beamable.Editor.UI.BeamEditorWindow`1[TWindow].OnGUI () (at Library/PackageCache/com.beamable@5.0.0-PREVIEW.RC3/Editor/UI/BeamEditorWindow.cs:279)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at /Users/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:464)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/DockArea.cs:386)
UnityEditor.DockArea.OldOnGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/DockArea.cs:377)
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 /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:372)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:693)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:553)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRenderer/UIRenderers.cs:129)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRRenderChain.cs:513)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRRepaintUpdater.cs:79)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/VisualTreeUpdater.cs:155)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Panel.cs:994)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Panel.cs:1046)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:448)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:211)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:74)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:28)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions