# DllNotFoundException: fmodstudio FMOD.Memory.GetStats

**URL:** https://qa.fmod.com/t/dllnotfoundexception-fmodstudio-fmod-memory-getstats/15279
**Category:** Unity
**Created:** [December 5, 2019, 3:28pm UTC](https://qa.fmod.com/t/dllnotfoundexception-fmodstudio-fmod-memory-getstats/15279 "2019-12-05T15:28:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![firepunchd](https://avatars.discourse-cdn.com/v4/letter/f/65b543/32.png) [@firepunchd](https://qa.fmod.com/u/firepunchd)
#### Post date: [December 5, 2019, 3:28pm UTC](https://qa.fmod.com/t/dllnotfoundexception-fmodstudio-fmod-memory-getstats/15279/1 "2019-12-05T15:28:56Z")

</div>

We are having random errors in our build - not all the time and the Dlls are there.

Unity 2019.1.9f1  
Fmod 2.00.06  
[Exception] DllNotFoundException: fmodstudio  
FMOD.Memory.GetStats (System.Int32& currentalloced, System.Int32& maxalloced,

I was looking at the script execution order and am wondering why the StudioListener and RuntimeManager are executed later than default time. Isn’t that a problem?

Thanks,  
Simon

---

<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: [December 11, 2019, 3:20am UTC](https://qa.fmod.com/t/dllnotfoundexception-fmodstudio-fmod-memory-getstats/15279/2 "2019-12-11T03:20:48Z")

</div>

The listener and RuntimeManager scripts are updated after the default time to allow for gameobject positions to be updated for that frame before passing the information to FMOD.

What platform are you building for? Do you have any other errors or warnings in the console?
