Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.1.X, 2020.2.X



Found in



Issue ID




[window layout] cannot load editor layout, stuck in infinite loop of "failed to load window layout"

Window management


steps to repro:
1a. copy the attached "corrupted" LastLayout.dwlt into ~/Library/Preferences/Unity/Editor-5.x/Layouts/default/ (or win/linux equivalent directory)
1b. create a new project via Unity hub

Expected: project is created and opens (and... revert factory settings / load default layout buttons fix the issue and Unity opens)
Actual: project is created but then a dialog appears and user is stuck in infinite loop that can only be stopped by selecting "quit"

repro: 2020.2.0a21, 2020.1.5f1
no repro: 2019.4.6f1

- found on MacOS
- "Failed to load window layout" window causes user to be caught in an infinite loop since nothing fixes the issue so the window will stay
- 2019.4.6f1 can successfully open with the "corrupted" LastLayout.dwlt but does show console errors

- try moving or deleting the files at
- ~/Library/Preferences/Unity/Editor-5.x/Layouts/default/LastLayout.dwlt (or equivalent path)
- <PROJECT>/Library/CurrentLayout-default.dwlt

  1. Resolution Note (fix version 2021.1):

    You can resolve this issue by upgrading to the appropriate fixed version:
    - 2021.1.0a5
    - 2020.2.0b12
    - 2020.1.14f1

    What has changed?
    - “Failed to load window layout” popup dialog now displays the error that occurred when loading the layout.
    - Choosing “quit” will remove the broken layout from the cache.
    - Choosing “Load default layout” or “revert factory settings” no longer results in an infinite loop with “Failed to load window layout”
- A console error will indicate why Unity failed to load the window layout - this can be cleared.

  2. Resolution Note (fix version 2020.2):

    Tested fixed in 2020.2.0b12

    Unity no longer creates an infinite loop of popup dialogs when attempting to load an invalid or corrupted layout.

  3. Resolution Note (fix version 2020.1):

    Tested fixed in 2020.1.14f1

    Unity no longer creates an infinite loop of popup dialogs when attempting to load an invalid or corrupted layout.

Comments (44)

  1. D3m0n

    Jun 01, 2023 10:01

    2022.3.0f1... The problem is still present.

  2. Nazdar

    Jun 22, 2021 19:32

    Confirmed. I'm still having this problem. It's very frustrating to lose my layout, and even more frustrating to find that the issue was marked resolved. How do we get attention back to this issue?

  3. LudiKha

    Feb 17, 2021 12:34

    Still getting this issue, in both the latest 2020.2 and 2021.1.

  4. chantey

    Feb 16, 2021 03:54

    still broken - windows 2020.2.1f1

  5. guneyozsan

    Feb 05, 2021 14:45

    Correction: Still having this on Unity 2020.2.1f1

  6. guneyozsan

    Feb 05, 2021 14:45

    Still having this on Unity 2020.2.0f1.

  7. Noirsoft

    Jan 04, 2021 18:41

    I just installed Unity 2020.2.0f1 and get this when creating a new project.

  8. Alex_Hsieh

    Dec 31, 2020 16:52

    It is not fixed. I'm using Unity 2019.4.16f1 on Windows, and every time Unity hub ( tries to check for updates, the file "LastLayout.dwlt" will become corrupted, no exceptions.

  9. msyoung2012

    Nov 28, 2020 21:34

    This issue is not fixed in 2020.1.3f1. Clearly, it's been a problem for some time and keeps recurring. Please do not mark these things as resolved if they are not.

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.