Git and FMOD

We’d like to use git for our FMOD studio project. Are there any files we should add to gitignore? For instance, the .cache folder?

Hi mate,
This link goes to Fmods guidelines on source control, give this a read :slight_smile:
https://www.fmod.com/docs/2.03/studio/using-source-control.html

TLDR follow the photo below.
image

2 Likes

Hi,

Yes, the .cache folder should be added to git ignore as it is updated locally.

Here is an example .gitignore file recommended for Unity projects using FMOD, which can serve as a good reference :

# 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

For more details, please refer to the source control documentation

Hope this helps, let me know if you have questions.

1 Like