Search Issue Tracker

Fixed

Fixed in 2021.3.7f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a5

Votes

0

Found in

2023.1.0a1

Issue ID

UUM-1566

Regression

Yes

[Linux] Editor throwing ArgumentExceptions while opening prefab overrides context window

--

-

How to reproduce:
1. Open attached project
2. Select Cube in the Hierarchy
3. In Inspector click Overrides button
4. Observe console (repeat step 3 several times if does not reproduce)

Error:
ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at /home/bokken/buildslave/unity/build/Modules/IMGUI/LayoutGroup.cs:129)
UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption\[] options) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUILayoutUtility.cs:487)
UnityEngine.GUILayoutUtility.GetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUILayoutUtility.cs:467)
UnityEditor.PrefabOverridesWindow.OnGUI (UnityEngine.Rect rect) (at /home/bokken/buildslave/unity/build/Editor/Mono/Prefabs/PrefabOverrides/PrefabOverridesWindow.cs:245)
UnityEditor.PopupWindow.OnGUI () (at /home/bokken/buildslave/unity/build/Editor/Mono/GUI/PopupWindow.cs:109)
UnityEditor.HostView.OldOnGUI () (at /home/bokken/buildslave/unity/build/Editor/Mono/HostView.cs:266)

Reproduced with: 2022.1.0a13, 2022.2.0a15
Does not reproduce with: 2021.2.3f1, 2022.1.0a12

Reproducible on: Linux CentOS 7, Ubuntu 20.04
Not reproducible with MacOS 11.6

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.