Last active
April 28, 2024 11:57
-
-
Save Mekyi/49a44d33c07dccddccbdf16d9cf614e7 to your computer and use it in GitHub Desktop.
Unity project .gitignore template
This file contains 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 generated files | |
/[Ll]ibrary/ | |
/[Tt]emp/ | |
/[Oo]bj/ | |
/[Bb]uild/ | |
/[Bb]uilds/ | |
/[Ll]ogs/ | |
/[Uu]ser[Ss]ettings/ | |
# MemoryCaptures can get excessive in size. | |
# They also could contain extremely sensitive data | |
/[Mm]emoryCaptures/ | |
# 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 | |
# VS Code generated files | |
.history/ | |
# Unity3D generated meta files | |
*.pidb.meta | |
*.pdb.meta | |
*.mdb.meta | |
# Unity3D generated file on crash reports | |
sysinfo.txt | |
# Builds | |
*.apk | |
*.aab | |
*.unitypackage | |
# Crashlytics generated file | |
crashlytics-build.properties | |
# Packed Addressables | |
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* | |
# Temporary auto-generated Android Assets | |
/[Aa]ssets/[Ss]treamingAssets/aa.meta | |
/[Aa]ssets/[Ss]treamingAssets/aa/* | |
# Never ignore DLLs in the FMOD subfolder. | |
!/[Aa]ssets/Plugins/FMOD/**/lib/* | |
# Don't ignore images and gizmos used by FMOD in the Unity Editor. | |
!/[Aa]ssets/Gizmos/FMOD/* | |
!/[Aa]ssets/Editor Default Resources/FMOD/* | |
# Ignore the Cache folder since it is updated locally. | |
/[Aa]ssets/Plugins/FMOD/Cache/* | |
# Ignore bank files in the StreamingAssets folder. | |
/[Aa]ssets/StreamingAssets/**/*.bank | |
/[Aa]ssets/StreamingAssets/**/*.bank.meta | |
# If the source bank files are kept outside of the StreamingAssets folder then these can be ignored. | |
# Log files can be ignored. | |
fmod_editor.log | |
# FMOD Studio files. The project should be located inside “FMOD” folder that is located in Unity project’s root | |
/FMOD/**.user | |
/FMOD/**.unsaved | |
/FMOD/**.cache | |
/FMOD/**.restore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment