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
- "No GUI Implemented" is displayed when using PhysicsMask with a CustomEditor
- "Report is from another project" popup warning is shown on domain reload when Project Auditor was previously ran in a different project
- Addressables Analyzer flags duplicate resource references from ScriptableObjects incorrectly when the corresponding field has been removed
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
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