Search Issue Tracker
Fixed in 2021.3.7f1
Fixed in 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X, 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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note (fix version 2023.1):
https://ono.unity3d.com/unity/unity/pull-request/144177/_/platform/editor/linux/gtk-queue-uum1602
Resolution Note (fix version 2021.3):
https://github.cds.internal.unity3d.com/unity/unity/pull/13210