Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2021.3.21f1
2022.2.11f1
2023.1.0b8
2023.2.0a6
Issue ID
UUM-29959
Regression
No
Error “EndLayoutGroup: BeginLayoutGroup must be called first" is thrown when closing a pop-up window
Reproduction steps:
1. Open the attached “BugReport_EditorWIndow.zip“ project
2. Select “Window” from Test dropdown tab
3. Click “Open Popup” button in “TestEditor” window
4. Close “Popup” window and observe the Console
Expected result: Console has no errors
Actual result: Error “EndLayoutGroup: BeginLayoutGroup must be called first.
UnityEditor.EditorGUILayout:EndVertical ()” appears in the Console
Reproducible with: 2020.3.46f1, 2021.3.21f1, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6
Reproduced on: Windows 10
Not reproduced on: macOS Monterey 12.6 (Intel)
Comments (1)
-
Elhoim
Jun 01, 2023 14:50
Got stuck in the same issue, resolved with EditorApplication.delayCall delegate that's called after the inspector updates. Hope it's helpful!
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Thank you for reporting this bug. As we transition to focusing on UI Toolkit, we can only address major issues or regressions in IMGUI. Fixing this specific bug would risk regressing IMGUI too much.
Consider using a flag to delay the opening of the modal window until after you close the Vertical group.
Resolution Note (2023.2.X):
Thank you for reporting this bug. As we transition to focusing on UI Toolkit, we can only address major issues or regressions in IMGUI. Fixing this specific bug would risk regressing IMGUI too much.
Consider using a flag to delay the opening of the modal window until after you close the Vertical group.