# Deploying FMOD to XBox One (UE 4.8.0)

**URL:** <https://qa.fmod.com/t/deploying-fmod-to-xbox-one-ue-4-8-0/12012>\
**Category:** Unreal Engine\
**Created:** [August 13, 2015, 2:43pm UTC](https://qa.fmod.com/t/deploying-fmod-to-xbox-one-ue-4-8-0/12012 "2015-08-13T14:43:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PompeyPaul](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@PompeyPaul](https://qa.fmod.com/u/PompeyPaul)\
**Post date:** [August 13, 2015, 2:43pm UTC](https://qa.fmod.com/t/deploying-fmod-to-xbox-one-ue-4-8-0/12012/1 "2015-08-13T14:43:09Z")

</div>

Hello,

When I package my game I get the following error:

MainFrameActions: Packaging (Xbox One): InternalUtils.SafeCopyFile: SafeCopyFile D:\src\MyGame\Plugins\FMODStudio\Binaries\XboxOne\fmod\_gain.dll D:\src\MyGame\Saved\StagedBuilds\XboxOne\MyGame\Plugins\FMODStudio\Binaries\XboxOne\fmod\_gain.dll  
MainFrameActions: Packaging (Xbox One): InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find file ‘D:\src\MyGame\Plugins\FMODStudio\Binaries\XboxOne\fmod\_gain.dll’.

I was wondering where I find this fmod\_gain.dll for X1? It wasn’t in the download that we had.

Or is there something that controls which .dll’s should go into the package and is that dll actually not required?

---

<div class="post-metadata">

**Author:** ![Mgriffin89](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Mgriffin89](https://qa.fmod.com/u/Mgriffin89)\
**Post date:** [August 19, 2015, 9:21am UTC](https://qa.fmod.com/t/deploying-fmod-to-xbox-one-ue-4-8-0/12012/2 "2015-08-19T09:21:51Z")

</div>

> [@](#):
>
> Hello,
> 
> When I package my game I get the following error:
> 
> MainFrameActions: Packaging (Xbox One): InternalUtils.SafeCopyFile: SafeCopyFile D:\src\MyGame\Plugins\FMODStudio\Binaries\XboxOne\fmod\_gain.dll D:\src\MyGame\Saved\StagedBuilds\XboxOne\MyGame\Plugins\FMODStudio\Binaries\XboxOne\fmod\_gain.dll  
> MainFrameActions: Packaging (Xbox One): InternalUtils.SafeCopyFile: WARNING: SafeCopyFile Exception was Exception in mscorlib: Could not find file ‘D:\src\MyGame\Plugins\FMODStudio\Binaries\XboxOne\fmod\_gain.dll’.
> 
> I was wondering where I find this fmod\_gain.dll for X1? It wasn’t in the download that we had.
> 
> Or is there something that controls which .dll’s should go into the package and is that dll actually not required?

Ran into the same issue when building for Win32. We’re running the latest patch (fmodstudio10608) on ue4 4.8.3

---

<div class="post-metadata">

**Author:** ![PompeyPaul](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@PompeyPaul](https://qa.fmod.com/u/PompeyPaul)\
**Post date:** [August 19, 2015, 10:27am UTC](https://qa.fmod.com/t/deploying-fmod-to-xbox-one-ue-4-8-0/12012/3 "2015-08-19T10:27:52Z")

</div>

We found that going back a version of fmod (pre UE4.9 support) fixed this for us.

---

<div class="post-metadata">

**Author:** ![Mgriffin89](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Mgriffin89](https://qa.fmod.com/u/Mgriffin89)\
**Post date:** [August 24, 2015, 1:53pm UTC](https://qa.fmod.com/t/deploying-fmod-to-xbox-one-ue-4-8-0/12012/4 "2015-08-24T13:53:45Z")

</div>

Yeah we also found reverting to the previous UE4 integration patch (fmodstudio10607) fixed the issue.

---

<div class="post-metadata">

**Author:** ![geoff](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@geoff](https://qa.fmod.com/u/geoff)\
**Post date:** [August 25, 2015, 5:58am UTC](https://qa.fmod.com/t/deploying-fmod-to-xbox-one-ue-4-8-0/12012/5 "2015-08-25T05:58:58Z")

</div>

A reference to fmod\_gain slipping into the last release in FMODStudio.Build.cs. Removing that line will fix the error.

The latest build.cs file has been updated here:

> <https://github.com/fmod/ue4integration/blob/master/FMODStudio/Source/FMODStudio/FMODStudio.Build.cs>
