BUG: Fmod 1.10 and 1.09.10 not building in Unity Android

The following error is generated when I build an Android project with fmod studio. This error is not produced in 1.09.04 so you can use that as an alternative in the meantime.

Assets/Plugins/FMOD/RuntimeManager.cs(576,29): error CS0120: An object reference is required to access non-static member `FMODUnity.RuntimeManager.loadedBankRegister(FMODUnity.RuntimeManager.LoadedBank, string, string, bool, FMOD.RESULT)’

Steps to reproduce:
Download Fmod studio 1.10.XX
Download Fmod Unity 1.10.XX
Open fmod project
Create 3D event, add audio clip with loop region, assign to master bank.
Build for all platforms.

In Unity:
Create new project
Import integration 1.10.XX
Assign fmod project
Create event emitter and assign event
Add studio listener to camera
Switch platform to android
Add scene to build path

Edit: if you comment that line, Unity is building and build is working fine.

Same problem here, Unity2017.3.1f1.

I can’t 1.09.04 - console is informing me that the code is obsolete, when I change one obsolete line I got 25 next errors.

This issue has been fixed for the next release, the change can be found on our github page:

The function should have been accessed through the ‘Instance’ of the RuntimeManager.


1 Like

This fix worked for me. Do you have any roadmap/date when this will be availabe in release?

This fix will be in the next release, due at the start of May.