BIS Unity intro assignment
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
- Cloning a repository from GitHub to GitHub Desktop
- Creating a branch for your work
- Committing and reviewing changes to your project
In case you are getting the "Failed to load window layout" error when opening the project do the following to fix this.
- Close Unity/ Unity Hub.
- Open the following folder
- If you are using Windows open
AppData\Roaming\Unity\Editor-5.x\Preferences\Layouts\default
. - If you are using Mac open
~/Library/Preferences/Unity/Editor-5.x/Layouts/default
.
- If you are using Windows open
- Delete the file
LastLayout.dwlt
. - Copy the file
Default.wlt
and paste it intopath/to/BIS21-assigment1-unity-intro/Library
. - Delete
CurrentLayout-default.dwlt
. - Rename
Default.wlt
toCurrentLayout-default.dwlt
. - Back when opening the Unity project go to the Layout dropdown (top-right corner of the window) and click on Revert Factory Settings....
Now you should be able to open up the project without any errors 🚀
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.