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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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.