# FMOD and Unity Integration Errors

**URL:** https://qa.fmod.com/t/fmod-and-unity-integration-errors/15569
**Category:** Unity
**Created:** [March 23, 2020, 5:25pm UTC](https://qa.fmod.com/t/fmod-and-unity-integration-errors/15569 "2020-03-23T17:25:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fmod12](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@fmod12](https://qa.fmod.com/u/fmod12)
#### Post date: [March 23, 2020, 5:25pm UTC](https://qa.fmod.com/t/fmod-and-unity-integration-errors/15569/1 "2020-03-23T17:25:04Z")

</div>

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

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [March 31, 2020, 5:07am UTC](https://qa.fmod.com/t/fmod-and-unity-integration-errors/15569/2 "2020-03-31T05:07:51Z")

</div>

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](https://fmod.com/resources/documentation-unity?version=2.0&page=welcome.html#supported-unity-versions)
