# FMOD5\_Memory\_GetStats XboxOne Unity

**URL:** <https://qa.fmod.com/t/fmod5-memory-getstats-xboxone-unity/14364>\
**Category:** Unity\
**Created:** [February 12, 2019, 10:10am UTC](https://qa.fmod.com/t/fmod5-memory-getstats-xboxone-unity/14364 "2019-02-12T10:10:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kim1](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/kim1/32/67_2.png) [@kim1](https://qa.fmod.com/u/kim1)\
**Post date:** [February 12, 2019, 10:10am UTC](https://qa.fmod.com/t/fmod5-memory-getstats-xboxone-unity/14364/1 "2019-02-12T10:10:25Z")

</div>

When trying to run an application on XboxOne, i’m getting:

FATAL MONO ERROR  
Unable to resolve pinvoke method ‘FMOD.Memory:FMOD5\_Memory\_GetStats (int&,int&,bool)’ Re-run with MONO\_LOG\_LEVEL=debug for more information.

The latest Unity Fmod plugin is installed ( 1.10.11) **and** the latest XBoxOne Fmod Plugin (1.10.11).  
Unity 2018.3.5f1

Building works fine.  
But when trying to run the application it crashes at **FMOD.Memory:FMOD5\_Memory\_GetStats**  
The DLLS are all included in the build.  
I get this error on development/debug/master builds.  
Even with all logging disabled.

Is there away to make it work? or to disable the getStats call?  
Is there a stable version to use?

---

<div class="post-metadata">

**Author:** ![kim1](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/kim1/32/67_2.png) [@kim1](https://qa.fmod.com/u/kim1)\
**Post date:** [February 12, 2019, 1:26pm UTC](https://qa.fmod.com/t/fmod5-memory-getstats-xboxone-unity/14364/2 "2019-02-12T13:26:34Z")

</div>

Solved by simply starting a new Unity Project, add the fmod plugin as well as the xbox plugin. then copy paste the plugin folder back to the original project 😅

# ¯\_(ツ)\_/¯
