Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug [2020.2.01b] Unable to create new projects or load some existing "Failed to load window layout"

Discussion in '2020.2 Beta' started by Sibz9000, Sep 6, 2020.

  1. Sibz9000

    Sibz9000

    Joined:
    Feb 24, 2018
    Posts:
    149
    I had this with 2020.2.021a, so installed the latest version (01b) and still had the same issue.
    EDIT: After installing 01b, I tried a new project, but didn't realise that it defaulted to the older version 021a for the new project. A new project in 01b does work, however the project I created in 021a won't load in 01b - But I managed to fix it. See my reply below.

    upload_2020-9-6_10-45-15.png
    Choosing either option doesn't work.
    Only appears on my laptop, desktop is fine. so possibly a local preferences issue.

    Log (snipped)
    I've tried clearing library/project settings/user settings folders and starting fresh to no avail.

    So it appears I cannot use unity at all on my laptop with this bug present. Out of ideas on what to reset.
     
    Last edited: Sep 11, 2020
  2. Sibz9000

    Sibz9000

    Joined:
    Feb 24, 2018
    Posts:
    149
    Fixed my current project by loading a previous project that did work, then Window->Layouts->Save Layout to file and overwriting
    Library/CurrentLayout-default.dwlt
    in my current project.
     
    VirtualMaestro likes this.
  3. Deleted User

    Deleted User

    Guest

    [2020.2.02b]?
     
  4. Sibz9000

    Sibz9000

    Joined:
    Feb 24, 2018
    Posts:
    149
    Yes I meant 01b, can't change titles after clicking post. Corrected inside my post.

    As for the issue, it has just re-occurred on my desktop with an existing project (and version 01b). Occurred after unity crashed while running in the background. Replacing
    Library/CurrentLayout-default.dwlt
    fixed it again.
     
  5. FakeByte

    FakeByte

    Joined:
    Dec 8, 2015
    Posts:
    147
    You can edit the title under thread tools.
    upload_2020-9-10_18-20-36.png
     
    cyclSunity and Sibz9000 like this.
  6. Sibz9000

    Sibz9000

    Joined:
    Feb 24, 2018
    Posts:
    149
    Oh wish I new that a long time ago ... haha fixed now ... though 02b is out, and probably still a bug with that ... yet to have unity crash with it though, guess I have to do more work to find out :p
     
  7. CodeFriendlyArt

    CodeFriendlyArt

    Joined:
    Jun 3, 2016
    Posts:
    10
    Thanks @Sibz9000 this hint totally help me with the same error. This is while using Unity 2020.2.0b1.2959. In my case the error seems to be triggered by me renaming the project folder. However, did exactly what you suggested and I can confirm it works for me as well. Otherwise I would have been locked out from the project. Huge thanks for sharing.

    ( As a side-note, I tried all the suggestions in this other thread without any success -> https://forum.unity.com/threads/can-not-launch-unity-due-to-failed-to-load-window-layout.694450/ )
     
  8. Crayz

    Crayz

    Joined:
    Mar 17, 2014
    Posts:
    193
    Getting this as well, what fixes it is deleting LastLayout from \AppData\Roaming\Unity\Editor-5.x\Preferences\Layouts\default and CurrentLayout-default in the Library folder.

    Happens every time I restart Unity.
     
    driley00 likes this.
  9. drallcom3

    drallcom3

    Joined:
    Feb 12, 2017
    Posts:
    162
    This bug appeared for me too. Totally out of the blue. I didn't rename anything or did any layout stuff.
     
  10. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,111
    DanteKnowsNot and Sibz9000 like this.
  11. VirtualMaestro

    VirtualMaestro

    Joined:
    Jul 2, 2014
    Posts:
    19
    Version Unity 2020.1.8 - this bug is still there.