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:
- Log in to www.fmod.com (creating an account is free & only requires an email)
- Download the FMOD for Unity integration from our Downloads Page. Make sure this matches the version that your Audio Team member is using exactly
- Before adding the integration, add our starter ignore to your repositories
.gitignore - Navigate to Package Manager, then import Custom Package and import the contents of the FMOD for Unity zip.
- Add the banks supplied from the Audio Team to [ProjectName]/Assets/FMOD/
Ensure the Platform names are included, for example [ProjectName]/Content/FMOD/Desktop - Navigate to the FMOD menu in Unity, then Edit Settings & Expand “Bank Import”
- 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:
- FMOD for Unity User Guide
- FMOD for Unity - Adding Sounds
- FMOD for Unity - Visual Scripting
- FMOD for Unity - Scripting API