Last active
March 2, 2025 14:54
-
-
Save mihai-rc/f46bbda01b2858ed99e3ab8b5400695f to your computer and use it in GitHub Desktop.
Unity .gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## Unity ########## | |
## This .gitignore assumes that the Unity project is in its own sub-folder inside the repo's root | |
## Replace <UnityPrj-Subfolder> with the actual name of the Unity project | |
# Unity Project | |
/<UnityPrj-Subfolder>/[Ll]ibrary/ | |
/<UnityPrj-Subfolder>/[Tt]emp/ | |
/<UnityPrj-Subfolder>/[Oo]bj/ | |
/<UnityPrj-Subfolder>/[Bb]uild/ | |
/<UnityPrj-Subfolder>/[Bb]uilds/ | |
/<UnityPrj-Subfolder>/[Ll]ogs/ | |
/<UnityPrj-Subfolder>/[Mm]emoryCaptures/ | |
/<UnityPrj-Subfolder>/[Uu]serSettings/ | |
/<UnityPrj-Subfolder>/[Bb]uild/ | |
/<UnityPrj-Subfolder>/[Bb]uilds/ | |
[Bb]uild/ | |
[Bb]uilds/ | |
# Asset meta data should only be ignored when the corresponding asset is also ignored | |
!/<UnityPrj-Subfolder>/[Aa]ssets/**/*.meta | |
# Uncomment this line if you wish to ignore the asset store tools plugin | |
# /[Aa]ssets/AssetStoreTools* | |
# Autogenerated Jetbrains Rider plugin | |
/<UnityPrj-Subfolder>/[Aa]ssets/Plugins/Editor/JetBrains* | |
# IDEs cache directory | |
/<UnityPrj-Subfolder>/.vs/ | |
/<UnityPrj-Subfolder>/.vscode/ | |
/<UnityPrj-Subfolder>/.idea/ | |
# Gradle cache directory | |
/<UnityPrj-Subfolder>/.gradle/ | |
# Packed Addressables | |
/<UnityPrj-Subfolder>/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* | |
# Temporary auto-generated Android Assets | |
/<UnityPrj-Subfolder>/[Aa]ssets/[Ss]treamingAssets/aa.meta | |
/<UnityPrj-Subfolder>/[Aa]ssets/[Ss]treamingAssets/aa/* | |
# Autogenerated VS/MD/Consulo solution and project files | |
/<UnityPrj-Subfolder>/ExportedObj/ | |
.consulo/ | |
*.csproj | |
*.unityproj | |
*.sln | |
*.suo | |
*.tmp | |
*.user | |
*.userprefs | |
*.pidb | |
*.booproj | |
*.svd | |
*.pdb | |
*.mdb | |
*.opendb | |
*.VC.db | |
*.vsconfig | |
# Unity3D generated meta files | |
*.pidb.meta | |
*.pdb.meta | |
*.mdb.meta | |
# Unity3D generated file on crash reports | |
/<UnityPrj-Subfolder>/sysinfo.txt | |
# Builds | |
*.apk | |
*.unitypackage | |
# Crashlytics generated file | |
crashlytics-build.properties | |
# Editor configs | |
*.dwlt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment