Skip to content

Instantly share code, notes, and snippets.

@FullStackForger
Last active July 22, 2026 20:34
Show Gist options
  • Select an option

  • Save FullStackForger/20bbf62861394b1a3de0 to your computer and use it in GitHub Desktop.

Select an option

Save FullStackForger/20bbf62861394b1a3de0 to your computer and use it in GitHub Desktop.
.gitignore for Unity3d project
###
# Unity folders and files
###
[Aa]ssets/AssetStoreTools*
[Bb]uild/
[Ll]ibrary/
[Ll]ocal[Cc]ache/
[Oo]bj/
[Tt]emp/
[Uu]nityGenerated/
# file on crash reports
sysinfo.txt
# Unity3D generated meta files
*.pidb.meta
###
# VS/MD solution and project files
###
[Ee]xportedObj/
*.booproj
*.csproj
*.sln
*.suo
*.svd
*.unityproj
*.user
*.userprefs
*.pidb
.DS_Store
###
# OS generated
###
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
@omri-mizrahi

omri-mizrahi commented Apr 29, 2022 via email

Copy link
Copy Markdown

@Ivano-P

Ivano-P commented Jul 27, 2022

Copy link
Copy Markdown

Hello, is this .gitignore still up to date or have you made any changes to the one you use now?
thank you, this already helped allot.

@FullStackForger

Copy link
Copy Markdown
Author

Totally missed your message @Ivano-P. I think the best way is to start new github project with Unity .gitignore and possibly add OS related section if you want to.

@Ivano-P

Ivano-P commented Nov 23, 2022

Copy link
Copy Markdown

@FullStackForger thanks, That's what I did.

@FullStackForger

Copy link
Copy Markdown
Author

@Ivano-P Not sure if that will apply for you but I have started to ignore /UserSettings folder, mainly because wouldn't want to enforce my settings on others and vice-versa.

@Ivano-P

Ivano-P commented Nov 29, 2022

Copy link
Copy Markdown

Oh yes, I will probably do that when I finish my test version and decide to work with a 3d artist, but in my case I use it to switch to my laptop when I'm on the move so having the same settings if what I want.

@ralphmettle

Copy link
Copy Markdown

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment