Search Issue Tracker
Won't Fix
Votes
0
Found in
2023.1.0a1
Issue ID
UUM-7001
Regression
Yes
[Mac] EndLayoutGroup error is thrown when closing a SaveFilePanel invoked from within a GUI Scope
Reproduction steps:
1. Open the attached project ("EndLayoutGroup_Bug.zip")
2. Select a GameObject from the Hierarchy window
3. Click the "Button" in the Inspector window
4. Click Cancel or Save in the SaveFilePanel
5. If there is no error in the Console, repeat steps 4-5
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: 2021.2.0a19, 2021.2.6f1, 2021.2.0b1
Not reproducible with: 2019.4.33f1, 2020.3.24f1
Notes:
1. It might take ~20 tries to reproduce
2. Not reproducible by pressing the ECS key to cancel
3. Reproducible on macOS, a similar issue exists on Windows: https://issuetracker.unity3d.com/product/unity/issues/guid/1380316/
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
- DepthNormalPrepass or DrawDepthNormalPrepass is rendered when using the Decal renderer feature with “Technique: Screen Space” and “Use Rendering Layers”
- “Shader error in 'Hidden/VFX/.../Minimal/Render Quad': undeclared identifier 'mainTexture' at line 2198 (on d3d11)” error appears when connecting a Switch Node output to the Main Texture in VFX Graph
- Editor crashes on GfxDeviceD3D12::UploadTextureSubData2DImpl when opening the Scene view
- The Camera's Clipping Planes Far value's condition of being greater than the Near value gets enforced when typing the value
- Sprites are not generated when using Fallback Sprite Assets
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.