Unity Issue Tracker - Editor Window disappears and goes into background processes when pressing CurrentMaximiseLayout in the Editor Layout options
Fixed
UUM-98930
Editor Window disappears and goes into background processes when pressing CurrentMaximiseLayout in the Editor Layout options
Unity: Editor Window Management
Fixed
6.2.X
6.1.X
6.0.X
Editor: Remove CurrentMaximizeLayout from the Layout menu as it should not be loadable as any other layout. Prevent layouts loaded from menus and scripts to put Unity in an unrecoverable state.
Editor: Remove CurrentMaximizeLayout from the Layout menu as it should not be loadable as any other layout. Prevent layouts loaded from menus and scripts to put Unity in an unrecoverable state.
Editor: Remove CurrentMaximizeLayout from the Layout menu as it should not be loadable as any other layout. Prevent layouts loaded from menus and scripts to put Unity in an unrecoverable state.
Reproduction steps:
1. Create and open a new project
2. Create and open any Scene
3. Click Shift + Spacebar in the Game view to expand it
4. Enter the Play mode
5. In the Toolbar click Layout > Other Versions > CurrentMaximizeLayout
6. Observe the Editor
Expected result: The Layout changes
Actual result: The Editor disappears (from the screen and taskbar) and is only visible in the Task Manager
Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: no other environment tested
Notes:
In versions before the regression either an error “UnityEditor.LayoutException: Error while reading window layout: no main window found" is shown in the Console or a pop-up opens up saying “Failed to load window layout” where it is possible to choose “Load Default Layout” or “Revert Factory Settings” and the Editor Window reappears
The CurrentMaximizeLayout option might appear without 2-4th steps, but from testing, maximizing the Game view and entering the Play mode is what causes that option to appear if it doesn’t automatically appear
All unsaved changes are lost after CurrentMaximizeLayout is pressed and the project can’t be opened again unless the process is ended through the Task Manager
Prioritise and Follow this issue
Have a workaround or additional info about this issue?