Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.3.21f1
2021.2.0b15
2022.1.0a10
2023.1.0a1
2023.2.0a1
Issue ID
UUM-3441
Regression
Yes
[Windows] EndLayoutGroup error is thrown when closing a SaveFilePanel invoked from within a GUI Scope
Reproduction steps:
1. Open the user's attached project ("GUILayoutError.zip")
2. Select a GameObject from the Hierarchy window
3. Click the "Button" in the Inspector window
4. Close the SaveFilePanel (Click Cancel, Save, X or hit the ESC key)
Expected result: There are no errors in the Console window
Actual result: An error is thrown:
EndLayoutGroup: BeginLayoutGroup must be called first.
UnityEngine.GUI/Scope:Dispose ()
Reproducible with: 2020.3.21f1, 2020.3.24f1, 2021.2.0b15, 2021.2.5f1, 2022.1.0a10, 2022.1.0b1
Not reproducible with: 2019.4.33f1, 2020.3.20f1, 2021.2.0b14, 2022.1.0a9
Notes:
1. If it doesn't reproduce, try repeating steps 3-4
2. Reproducible on Windows, a similar issue exists on macOS: https://issuetracker.unity3d.com/product/unity/issues/guid/1386486/
Workaround: Adding GUIUtility.ExitGUI(); after invoking the SaveFilePanel
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
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Resolution Note:
We can only fix IMGUI critical issues with no workarounds at this time as we are shifting focus on UI Toolkit. Please follow the workaround.