From d4c81e8602ecac6cc205f86357ba5c5d31f5f940 Mon Sep 17 00:00:00 2001 From: Casey Hofland Date: Thu, 12 Jan 2023 17:19:22 +0100 Subject: [PATCH] Add FMOD gitignore files There is really no reason to not include these by default. If you don't use FMOD, no harm done. But I've seen many teams fail to add this to their gitignore and getting unnecessary git conflicts that could have been easily avoided if this were in from the beginning. --- Unity.gitignore | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Unity.gitignore b/Unity.gitignore index 1c3944b9..0bae9e48 100644 --- a/Unity.gitignore +++ b/Unity.gitignore @@ -76,3 +76,21 @@ crashlytics-build.properties # 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/[Ss]treamingAssets/**/*.bank +/[Aa]ssets/[Ss]treamingAssets/**/*.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