# FMOD Not Working - Unity 2019.2.17f1

**URL:** <https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350>\
**Category:** Unity\
**Created:** [December 30, 2019, 12:41am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350 "2019-12-30T00:41:08Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![abaldwin](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@abaldwin](https://qa.fmod.com/u/abaldwin)\
**Post date:** [December 30, 2019, 12:41am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/1 "2019-12-30T00:41:08Z")

</div>

When importing the package in Unity 2019.2.17f1, I get a path error (see below). I have integrated FMOD into previous versions of Unity with no issues. I am wondering if there is a new step that I need to use in order to properly link the path for Unity to recognize.

C:/buildslave/unity/build/Editor/Mono/VisualStudioIntegration/SolutionSynchronizer.cs:224)  
System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at \<351e49e2a5bf4fd6beabb458ce2255f3\>:0)  
UnityEditor.VisualStudioIntegration.SolutionSynchronizer.SyncIfNeeded (System.Collections.Generic.IEnumerable`1[T] affectedFiles, System.Collections.Generic.IEnumerable`1[T] reimportedFiles) (at C:/buildslave/unity/build/Editor/Mono/VisualStudioIntegration/SolutionSynchronizer.cs:213)  
UnityEditor.SyncVS.PostprocessSyncProject (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromAssetPaths) (at C:/buildslave/unity/build/Editor/Mono/SyncProject.cs:165)  
UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at C:/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:159)  
UnityEditor.AssetDatabase:SaveAssets()  
FMODUnity.EventManager:CopyToStreamingAssets() (at Assets/Plugins/FMOD/src/Editor/EventManager.cs:584)  
FMODUnity.EventManager:RefreshBanks() (at Assets/Plugins/FMOD/src/Editor/EventManager.cs:37)  
FMODUnity.EventManager:Update() (at Assets/Plugins/FMOD/src/Editor/EventManager.cs:656)  
UnityEditor.EditorApplication:Internal\_CallUpdateFunctions() (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:303)

---

<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:** [January 6, 2020, 3:08am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/2 "2020-01-06T03:08:09Z")

</div>

It looks like an error coming from `AssetDatabase.SaveAssets()` although I’m not sure why.  
What version of FMOD for Unity are you using?

---

<div class="post-metadata">

**Author:** ![abaldwin](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@abaldwin](https://qa.fmod.com/u/abaldwin)\
**Post date:** [January 6, 2020, 3:17am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/3 "2020-01-06T03:17:12Z")

</div>

2.00.06

---

<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:** [January 7, 2020, 3:39am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/4 "2020-01-07T03:39:44Z")

</div>

I have not been able to reproduce this error, do you have steps that reproduce this in a new project?  
Does this occur every time you link a project/path or only some of the time?

---

<div class="post-metadata">

**Author:** ![abaldwin](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@abaldwin](https://qa.fmod.com/u/abaldwin)\
**Post date:** [January 7, 2020, 4:41am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/5 "2020-01-07T04:41:40Z")

</div>

I believe I am correctly following the steps outlined in the documentation ([https://www.fmod.com/resources/documentation-unity?version=2.0&page=user-guide.html](https://www.fmod.com/resources/documentation-unity?version=2.0&page=user-guide.html))

I am able to see all banks and events and select them in the studio event emitter, so it appears as though the directories are in order, and the events are found - however, the error listed above still occurs. I will try to duplicate it in a new project and see if I can reproduce it there.

---

<div class="post-metadata">

**Author:** ![abaldwin](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@abaldwin](https://qa.fmod.com/u/abaldwin)\
**Post date:** [January 7, 2020, 5:19am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/6 "2020-01-07T05:19:16Z")

</div>

I followed the same steps in a new project, and it worked fine - duplicated in my full project and it did not work. I will try to see if I can figure out what project settings may be different.

---

<div class="post-metadata">

**Author:** ![abaldwin](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@abaldwin](https://qa.fmod.com/u/abaldwin)\
**Post date:** [January 8, 2020, 11:38pm UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/7 "2020-01-08T23:38:12Z")

</div>

Cameron,

I was able to resolve the problem, following a related thread: [Bank copy errors when using 2.0 integration](https://qa.fmod.com/t/bank-copy-errors-when-using-2-0-integration/14463/27)

I moved the SaveAssets() into the madeChanges check as shown below. Now, the open question is this - will this create any issues for me as I start to build the audio into my project. I will post to the thread if I encounter any issues, but for now, things appear to be working.

As a point of comparison, I did a test where I rolled my project back to Unity 2019.0.1f2 and imported FMOD, with no issues. I was also able to integrate FMOD in Unity 2019.17.f1 in a new project with no issues. So I suspect that my project upgrade to the new Unity version introduced a dependency that I cannot identify. Of course, I am not an expert in such things, so I don’t have more insight, sadly.

// EventManager.cs CopyToStreamingAssets()  
// …  
if (madeChanges)  
{  
AssetDatabase.SaveAssets();  
AssetDatabase.Refresh();  
UnityEngine.Debug.Log(string.Format(“FMOD Studio: copy banks for platform {0} : copying banks from {1} to {2} succeeded”, platform.ToString(), bankSourceFolder, bankTargetFolder));  
}

---

<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:** [January 9, 2020, 10:33pm UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/8 "2020-01-09T22:33:49Z")

</div>

> [@abaldwin](#):
>
> I moved the SaveAssets() into the madeChanges check as shown below. Now, the open question is this - will this create any issues for me as I start to build the audio into my project.

It shouldn’t, we have actually made this change in the upcoming release as well.

---

<div class="post-metadata">

**Author:** ![reckhou](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/reckhou/32/876_2.png) [@reckhou](https://qa.fmod.com/u/reckhou)\
**Post date:** [January 15, 2020, 4:15pm UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/9 "2020-01-15T16:15:39Z")

</div>

Hey, I have had the same issue after upgraded Unity from 2019.2.13f1 to 2019.2.17f1. Seems like introduced by Unity upgrades, but I did found an earlier post a year ago discussed the same issue caused by another earlier Unity version(2018).

---

<div class="post-metadata">

**Author:** ![fmsode](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@fmsode](https://qa.fmod.com/u/fmsode)\
**Post date:** [January 16, 2020, 8:48pm UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/10 "2020-01-16T20:48:39Z")

</div>

Thanks for the hotfix for this! I also had this issue after I upgraded from 2019.2.15f1 to 2019.2.17f1 and the hotfix fixed it. Good to know it’ll be implemented in future patches, too.

---

<div class="post-metadata">

**Author:** ![dadi-victorious](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@dadi-victorious](https://qa.fmod.com/u/dadi-victorious)\
**Post date:** [May 15, 2020, 7:43am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/11 "2020-05-15T07:43:42Z")

</div>

I have integration problem too…

Assets\Plugins\FMOD\src\Runtime\RuntimeUtils.cs(424,22): warning CS0618: ‘BuildTarget.StandaloneLinuxUniversal’ is obsolete: ‘StandaloneLinuxUniversal has been removed in 2019.2’

I used 2.00.07, but I also tried 2.01.00 but it still didn’t work

---

<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:** [May 20, 2020, 5:36am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350/12 "2020-05-20T05:36:13Z")

</div>

That is just a warning, are you getting any errors?
