HassoPlattnerInstituteHCI / BIS21-assigment1-unity-intro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assignment 1

BIS Unity intro assignment

to submit your assigment

in short:

  • clone this repository
  • create your branch (the branch name should be “firstname_lastname”)
  • change code on your branch
  • commit and push the code on your branch

if you use GitHub Desktop

Fix: Failed to load window layout

In case you are getting the "Failed to load window layout" error when opening the project do the following to fix this.

  1. Close Unity/ Unity Hub.
  2. Open the following folder
    1. If you are using Windows open AppData\Roaming\Unity\Editor-5.x\Preferences\Layouts\default.
    2. If you are using Mac open ~/Library/Preferences/Unity/Editor-5.x/Layouts/default.
  3. Delete the file LastLayout.dwlt.
  4. Copy the file Default.wlt and paste it into path/to/BIS21-assigment1-unity-intro/Library.
  5. Delete CurrentLayout-default.dwlt.
  6. Rename Default.wlt to CurrentLayout-default.dwlt.
  7. Back when opening the Unity project go to the Layout dropdown (top-right corner of the window) and click on Revert Factory Settings....

Screenshot 2021-04-23 172141

Now you should be able to open up the project without any errors 🚀

Source

BTW this error gets caused due to the UserSettings folder (now deleted in this repo) which got introduced in Unity 2020. Be sure when publishing to GitHub you have the newest .gitignore which also excludes the UserSettings folder.

About


Languages

Language:C# 100.0%