Skip to content

Instantly share code, notes, and snippets.

@tyirvine
Created November 4, 2021 07:01
Show Gist options
  • Save tyirvine/ad0aa7d02c930507c02dd8057225ac6b to your computer and use it in GitHub Desktop.
Save tyirvine/ad0aa7d02c930507c02dd8057225ac6b to your computer and use it in GitHub Desktop.
.gitignore for Unity
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Mm]emoryCaptures/
# Autogenerated assets for debugging
/[Aa]ssets/StreamingAssets/
# Asset meta data should only be ignored when the corresponding asset is also ignored
!/[Aa]ssets/**/*.meta
# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*
# Autogenerated Jetbrains Rider plugin
[Aa]ssets/Plugins/Editor/JetBrains*
# Visual Studio cache directory
.vs/
# Gradle cache directory
.gradle/
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db
# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta
# Unity3D generated file on crash reports
sysinfo.txt
# Builds
*.apk
*.unitypackage
# Crashlytics generated file
crashlytics-build.properties
Temp/UnityLockfile
Temp/UnityLockfile
Temp/UnityLockfile
Assets/StreamingAssets/Debug.log.meta
Assets/StreamingAssets/Debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment