Search Issue Tracker

Fixed

Fixed in 6000.0.43f1, 6000.1.0b11, 6000.2.0a7

Votes

0

Found in

6000.0.41f1

6000.1.0b9

6000.2.0a6

7000.0.0a35

Issue ID

UUM-98930

Regression

Yes

Editor Window disappears and goes into background processes when pressing CurrentMaximiseLayout in the Editor Layout options

-

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 with: 2023.1.0a20, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6
Not reproducible with: 2022.3.59f1, 2023.1.0a19

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

  1. Resolution Note:

    Postponed port

  2. Resolution Note (fix version 6000.2.0a7):

    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.

  3. Resolution Note (fix version 6000.1.0b11):

    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.

  4. Resolution Note (fix version 6000.0.43f1):

    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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.