# Can't make a PS4 build in Unity when using FMod

**URL:** <https://qa.fmod.com/t/cant-make-a-ps4-build-in-unity-when-using-fmod/12755>\
**Category:** Unity\
**Created:** [October 18, 2016, 7:20pm UTC](https://qa.fmod.com/t/cant-make-a-ps4-build-in-unity-when-using-fmod/12755 "2016-10-18T19:20:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![adriantalens](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@adriantalens](https://qa.fmod.com/u/adriantalens)\
**Post date:** [October 18, 2016, 7:20pm UTC](https://qa.fmod.com/t/cant-make-a-ps4-build-in-unity-when-using-fmod/12755/1 "2016-10-18T19:20:31Z")

</div>

We’re having trouble deploying to PS4. It seems like we can’t make a build in Unity to PS4 when FMod is in the project. It builds fine when all FMod related components from the project are deleted. We’re using FMod Studio + Unity integration version 1.08.12. Unity version 5.4. Any ideas?

---

<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:** [October 24, 2016, 10:26am UTC](https://qa.fmod.com/t/cant-make-a-ps4-build-in-unity-when-using-fmod/12755/2 "2016-10-24T10:26:21Z")

</div>

> [@](#):
>
> We’re having trouble deploying to PS4. It seems like we can’t make a build in Unity to PS4 when FMod is in the project. It builds fine when all FMod related components from the project are deleted. We’re using FMod Studio + Unity integration version 1.08.12. Unity version 5.4. Any ideas?

Could you please provide some details about what is going wrong? Are you receiving error messages? or is there some log output you could share?

---

<div class="post-metadata">

**Author:** ![adriantalens](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@adriantalens](https://qa.fmod.com/u/adriantalens)\
**Post date:** [November 4, 2016, 10:42pm UTC](https://qa.fmod.com/t/cant-make-a-ps4-build-in-unity-when-using-fmod/12755/3 "2016-11-04T22:42:41Z")

</div>

When trying to do a build to the PlayStation 4: The game won’t finish booting up and the PC hosted build says "Unable to resolve pinvoke method “FMOD.Memory:FMOD5\_Memory\_GetStats(int&, int&, bool)” Seems like someone on the Playstation forums had the same problem, I asked our programmer Josh Blidook, he said the solution to delete the .dlls didn’t work in our case.

---

<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:** [October 28, 2016, 6:53am UTC](https://qa.fmod.com/t/cant-make-a-ps4-build-in-unity-when-using-fmod/12755/4 "2016-10-28T06:53:30Z")

</div>

We have identified a problem with the Unity integration.  
You can resolve this by manually deleting the fmod.dll and fmodl.dll files from both the Plugins/x86 & Plugins/x86\_64 folders.  
This fix will be out next update.

---

<div class="post-metadata">

**Author:** ![adriantalens](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@adriantalens](https://qa.fmod.com/u/adriantalens)\
**Post date:** [November 4, 2016, 10:43pm UTC](https://qa.fmod.com/t/cant-make-a-ps4-build-in-unity-when-using-fmod/12755/5 "2016-11-04T22:43:51Z")

</div>

> [@](#):
>
> We have identified a problem with the Unity integration.  
> You can resolve this by manually deleting the fmod.dll and fmodl.dll files from both the Plugins/x86 & Plugins/x86\_64 folders.  
> This fix will be out next update.

This didn’t work for us unfortunately

---

<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:** [November 6, 2016, 9:50pm UTC](https://qa.fmod.com/t/cant-make-a-ps4-build-in-unity-when-using-fmod/12755/6 "2016-11-06T21:50:55Z")

</div>

It looks like you are then missing the ps4 specific dll’s. Please refer to [http://www.fmod.org/questions/question/how-do-i-get-access-to-console-versions/](http://www.fmod.org/questions/question/how-do-i-get-access-to-console-versions/)
