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

**URL:** <https://qa.fmod.com/t/unable-to-resolve-pinvoke-method-fmod-memory-fmod5-memory-getstats-int-int-bool-re-run-with-mono-log-level-debug-for-more-information/13262>\
**Category:** Unity\
**Created:** [July 3, 2017, 3:06am UTC](https://qa.fmod.com/t/unable-to-resolve-pinvoke-method-fmod-memory-fmod5-memory-getstats-int-int-bool-re-run-with-mono-log-level-debug-for-more-information/13262 "2017-07-03T03:06:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![muqian3288](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@muqian3288](https://qa.fmod.com/u/muqian3288)\
**Post date:** [July 3, 2017, 3:06am UTC](https://qa.fmod.com/t/unable-to-resolve-pinvoke-method-fmod-memory-fmod5-memory-getstats-int-int-bool-re-run-with-mono-log-level-debug-for-more-information/13262/1 "2017-07-03T03:06:00Z")

</div>

45:37:16 Unable to resolve pinvoke method ‘FMOD.Memory:FMOD5\_Memory\_GetStats (int&,int&,bool)’ Re-run with MONO\_LOG\_LEVEL=debug for more information.  
I got this error when I ran app in PlayStation4. Does it mean I need to set the PlayStation4 system environment? How to set it ??

---

<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:** [July 11, 2017, 6:05am UTC](https://qa.fmod.com/t/unable-to-resolve-pinvoke-method-fmod-memory-fmod5-memory-getstats-int-int-bool-re-run-with-mono-log-level-debug-for-more-information/13262/2 "2017-07-11T06:05:41Z")

</div>

This can be resolved by making sure the corresponding platform libs are in the project.

---

<div class="post-metadata">

**Author:** ![ulisesyo](https://avatars.discourse-cdn.com/v4/letter/u/e99b99/32.png) [@ulisesyo](https://qa.fmod.com/u/ulisesyo)\
**Post date:** [July 16, 2017, 1:54am UTC](https://qa.fmod.com/t/unable-to-resolve-pinvoke-method-fmod-memory-fmod5-memory-getstats-int-int-bool-re-run-with-mono-log-level-debug-for-more-information/13262/3 "2017-07-16T01:54:54Z")

</div>

Hi guanshichao,

It happend to me too while I was trying to disable logging… It turned out that if you don’t have the fmodL.dll and fmodstudioL.dll while compiling in debug mode, the game crashed. So the solution is to include those libraries, but the problem is that I cannot disable fmod logging in a debug build… Is there any way to do this?
