Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A .gitignore for Unity Projects. Worked for us. Might completely break your project. To remove previously tracked but now ignored files, run (from a clean working directory): git rm -r --cached .; git add .
obj
Temp
*.suo
*.user
*.pidb
*.userprefs
*.sln
*.csproj
Library/cache
Library/metadata
Library/previews
Library/ScriptAssemblies
Library/assetDatabase3
Library/AssetImportState
Library/assetservercachev3
Library/AssetServerCacheV3
Library/AssetVersioning.db
Library/AudioManager.asset
Library/BuildPlayer.prefs
Library/BuildSettings.asset
Library/DynamicsManager.asset
Library/EditorSettings.asset
Library/EditorUserBuildSettings.asset
Library/expandedItems
Library/FailedAssetImports.txt
Library/guidmapper
Library/InspectorExpandedItems.asset
Library/MonoManager.asset
Library/NetworkManager.asset
Library/ScriptMapper
Library/unity default resources
Library/unity editor resources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.