Working with Unity and Github

You can follow our FMOD for Unity tutorial video

We’ll also outline the steps required here for you as well:

  1. Log in to www.fmod.com (creating an account is free & only requires an email)
  2. Download the FMOD for Unity integration from our Downloads Page. Make sure this matches the version that your Audio Team member is using exactly
  3. Before adding the integration, add our starter ignore to your repositories .gitignore
  4. Navigate to Package Manager, then import Custom Package and import the contents of the FMOD for Unity zip.
  5. Add the banks supplied from the Audio Team to [ProjectName]/Assets/FMOD/
    Ensure the Platform names are included, for example [ProjectName]/Content/FMOD/Desktop
  6. Navigate to the FMOD menu in Unity, then Edit Settings & Expand “Bank Import”
  7. Set Build Path to the folder you added the Bank files to.
    If you’re using Multiple Platform Build, then ensure you point to the folder including the platform names, for eg “[ProjectName]/Content/FMOD/Desktop”

Note:

If you have devs working on different operating systems, we suggest adding a .gitattributes to avoid issues:

Assets/Plugins/FMOD/**/*.bundle text eol=lf
Assets/Plugins/FMOD/**/Info.plist text eol=lf

SVN Ignore setup

If using SVN, you’ll need to grab the fmod_unity_svn_ignore.txt file, put it in your project’s parent folder and run the following commands from that same folder:

svn propset svn:ignore -F fmod_unity_svn_ignore.txt Assets/Plugins/FMOD
svn propset svn:ignore -F fmod_unity_svn_ignore.txt Assets/StreamingAssets

Further documentation:


Table of contents