DEV Community

loading...

Simple Fix for Unity Window Layout Error

☮️✝️☪️🕉☸️✡️☯️
Linux girl, gamer, and programmer. <3 Math, Graphics, Art, Techno, & Blackholes. My heroes are Einstein, Hawkin, and Sagan. If i could have any superpower, it would be the ability to control time.
・1 min read

Found a simple work around to fix the window layout error when creating new unity projects. The saving states which manage the current and last window editor positions seems to be corrupting. To work around this we need to rename two files, so that Unity may recreate using the 3d scene graph objects.

cd ~/Library/Preferences/Unity/Editor-5.x/Layouts/default
mv LastLayout.dwlt LastLayout.dwlt.bak
cd <project_dir>/Library
mv CurrentLayout-default.dwlt CurrentLayout-default.dwlt.bak
Enter fullscreen mode Exit fullscreen mode

you can follow, report, and track this issue here:
https://issuetracker.unity3d.com/issues/window-layout-cannot-load-editor-layout-stuck-in-infinite-loop-of-failed-to-load-window-layout?page=1#comments

Discussion (0)