# FMOD Distance Filter Unity build issue / File not found error for some users

**URL:** <https://qa.fmod.com/t/fmod-distance-filter-unity-build-issue-file-not-found-error-for-some-users/16129>\
**Category:** Unity\
**Tags:** unity\
**Created:** [September 1, 2020, 10:36am UTC](https://qa.fmod.com/t/fmod-distance-filter-unity-build-issue-file-not-found-error-for-some-users/16129 "2020-09-01T10:36:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stormghost](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@Stormghost](https://qa.fmod.com/u/Stormghost)\
**Post date:** [September 1, 2020, 10:36am UTC](https://qa.fmod.com/t/fmod-distance-filter-unity-build-issue-file-not-found-error-for-some-users/16129/1 "2020-09-01T10:36:04Z")

</div>

Hello!  
I’ve successfully added a fmod\_distance\_filter plugin to FMOD into our unity build game.  
We’ve builded game and it runs with no problems whatsoever, but not for everyone.

Some players have no sound at all and the next error:

Exception in InitBuses: FMODUnity.SystemNotInitializedException: [FMOD] Initialization failed : Loading plugin ‘fmod\_distance\_filter’ from ‘C:/Program Files (x86)/Steam/steamapps/common/Frontier Pilot Simulator/Frontier Pilot Simulator\_Data/Plugins/fmod\_distance\_filter.dll’ : ERR\_FILE\_NOTFOUND : File not found.  
at FMODUnity.RuntimeManager.get\_Instance () [0x00007] in :0  
at FMODUnity.RuntimeManager.get\_StudioSystem () [0x00000] in :0  
at SoundManager.CSoundsManager.InitBuses (CLogContext inLogContext) [0x000eb] in :0  
at SoundManager.CSoundsManager…ctor (CLogContext inLogContext) [0x00042] in :0

System.Environment.get\_StackTrace () [0x00000] in :0

SoundManager.CSoundsManager…ctor (CLogContext inLogContext) [0x00000] in :0

CAppManager.Init (AppStarterScript appStarterScript) [0x00000] in :0

AppStarterScript.Start () [0x00000] in :0

The .dll file is physically there. The pathing is the same for everyone.  
Plugin loading failure causes no sound output, but why this may happen in the first place?

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [September 1, 2020, 11:00pm UTC](https://qa.fmod.com/t/fmod-distance-filter-unity-build-issue-file-not-found-error-for-some-users/16129/2 "2020-09-01T23:00:14Z")

</div>

It’s possible that the fmod\_distance\_filter.dll has a dependency that isn’t available on some machines, that could cause the appearance of a slightly erroneous “file not found” error. The most common cause of dependency failure is dynamically linking the C runtime, if you statically link it should remove that. I find the tool “Dependency Walker” really useful for exploring these things.
