FMOD and Unity Integration Errors

I’m having some trouble integrating FMOD and Unity together. When I import the FMOD package I get a few errors(shown below). I’m curious has anyone experienced these before. any help would be appreciated. I’m using FMOD 2.0 and its happening on Unity versions 2017.2 and 2017.3. Is it as simple as that these versions of Unity are not compatible with the FMOD I’m using?

Assets/Plugins/FMOD/src/Runtime/RuntimeUtils.cs(427,34): error CS0117: UnityEditor.BuildTarget' does not contain a definition for StandaloneOSX’
Assets/Plugins/FMOD/src/Runtime/wrapper/fmod.cs(3162,28): error CS0308: The non-generic method `System.Runtime.InteropServices.Marshal.PtrToStructure(System.IntPtr, object)’ cannot be used with the type arguments

You are correct, the FMOD Integration 2.00.xx will work with all versions of Unity from 2017.4 onwards.

https://fmod.com/resources/documentation-unity?version=2.0&page=welcome.html#supported-unity-versions

1 Like