# Unity Sound not working with Xbox Build

**URL:** <https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769>\
**Category:** Unity\
**Tags:** xboxone, unity\
**Created:** [May 17, 2022, 10:54am UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769 "2022-05-17T10:54:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsg.devs](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@gsg.devs](https://qa.fmod.com/u/gsg.devs)\
**Post date:** [May 17, 2022, 10:54am UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/1 "2022-05-17T10:54:04Z")

</div>

Hello,  
We are trying to build our title for xbox platform in Unity. We have used FMOD for 70% of our sound implementation, for the rest 30% we have used Unity’s Audio System.

We were having issues when we play our xbox build. After searching in forum, we came to know that, FMOD does not work well with Unity’s audio and it’s recommended to disable unity audio for xbox platform.

We are very late at our development stage. So is there any solution so that both FMOD and Unity’s audio can work together?

We are using FMOD version 2.02.04 with Xbox GDK June 2021 Update 4, (10.0.19041.7032)

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [May 18, 2022, 4:38am UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/2 "2022-05-18T04:38:05Z")

</div>

Unfortunately disabling Unity audio is essential to get FMOD to run on Xbox One.

[https://www.fmod.com/resources/documentation-unity?version=2.02&page=troubleshooting.html#disabling-unity-audio](https://www.fmod.com/resources/documentation-unity?version=2.02&page=troubleshooting.html#disabling-unity-audio)

The only option is to disable Unity audio and redo the 30% of sounds from native Unity in FMOD.

EDIT: Our integrations developer has informed me there could be a workaround if you try the following:

- Disable audio using shapes in Unity (not sure if this is a thing in Unity)
- Don’t use XMA for the FMOD Studio bank encodings for Xbox

---

<div class="post-metadata">

**Author:** ![noethis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noethis/32/1880_2.png) [@noethis](https://qa.fmod.com/u/noethis)\
**Post date:** [August 8, 2022, 11:58pm UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/3 "2022-08-08T23:58:04Z")

</div>

Sorry to resurrect this old thread but we’re having a similar problem on XBox and was wondering how this was resolved? DId you end up finding a workaround or did you redo 30% of the audio? Is that workaround still viable?

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [August 12, 2022, 7:44am UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/4 "2022-08-12T07:44:05Z")

</div>

> [@noethis](#):
>
> Is that workaround still viable?

Yes this workaround should still be viable. Can you please calrify what issues are you having on Xbox?

---

<div class="post-metadata">

**Author:** ![noethis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noethis/32/1880_2.png) [@noethis](https://qa.fmod.com/u/noethis)\
**Post date:** [August 12, 2022, 4:31pm UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/5 "2022-08-12T16:31:44Z")

</div>

I’ll have to get back to you on exact errors we’re getting but the gist is that we implemented the music in FMOD and the rest of the game audio in Unity and now when building for XBox platforms the FMOD stuff isn’t working. We’ve tried the 2nd part of the workaround, namely building the banks without using XMA, and it didn’t help. And we weren’t sure if there was anything we could do with respect to the first point (about shapes in Unity).

---

<div class="post-metadata">

**Author:** ![noethis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noethis/32/1880_2.png) [@noethis](https://qa.fmod.com/u/noethis)\
**Post date:** [August 15, 2022, 3:40pm UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/6 "2022-08-15T15:40:36Z")

</div>

Here’s the most recent error we get:

```auto
[FMOD] ACPManager::init : AcpHalAllocateShapeContexts returned 0x8AC80001.

UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
FMODUnity.RuntimeUtils:DebugLogError(String)
FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, IntPtr, Int32, IntPtr, IntPtr)
FMOD.Studio.System:create(System&)
FMODUnity.RuntimeManager:Initialize()
FMODUnity.RuntimeManager:get_Instance()
FMODUnity.RuntimeManager:get_StudioSystem()
FMODUnity.RuntimeManager:GetBus(String)
Music:Init()
Music:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
SystemNotInitializedException: [FMOD] Initialization failed : FMOD.Studio.System.create : ERR_INTERNAL : An error occurred that wasn't supposed to. Contact support.
  at FMODUnity.RuntimeManager.CheckInitResult (FMOD.RESULT result, System.String cause) [0x00000] in <00000000000000000000000000000000>:0 
  at FMODUnity.RuntimeManager.Initialize () [0x00000] in <00000000000000000000000000000000>:0 
  at FMODUnity.RuntimeManager.get_Instance () [0x00000] in <00000000000000000000000000000000>:0 
  at FMODUnity.RuntimeManager.get_StudioSystem () [0x00000] in <00000000000000000000000000000000>:0 
  at FMODUnity.RuntimeManager.GetBus (System.String path) [0x00000] in <00000000000000000000000000000000>:0 
  at Music.Init () [0x00000] in <00000000000000000000000000000000>:0 
  at Music.Awake () [0x00000] in <00000000000000000000000000000000>:0 
 
(Filename: currently not available on il2cpp Line: -1)

```

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [August 16, 2022, 2:30am UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/7 "2022-08-16T02:30:35Z")

</div>

Thank you for sharing the log, it looks like we are still attempting to use SHAPE ourselves despite banks not being encoded with XMA. I discussed this with the Dev team and they confirmed that the original advice was incorrect as FMOD will always reserve XMA resources regardless of whether that format is used.  
As for disabling SHAPE in Unity, it seems there is no way to do this outside of completely disabling Unity audio.  
I have added a task to instead disable SHAPE on FMOD’s side when the bank encoding format is not XMA, which should allow Unity Audio and FMOD to coexist on Xbox if you need it to. Apologies for the misinformation on this issue.

---

<div class="post-metadata">

**Author:** ![PiktivSteffie](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@PiktivSteffie](https://qa.fmod.com/u/PiktivSteffie)\
**Post date:** [April 25, 2025, 3:12pm UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/8 "2025-04-25T15:12:59Z")

</div>

Hey guys, was this shape-disabling feature ever implemented? We’re building for xbox series S/X, and we’re using Vivox, so we’re a little tied to Unity audio if we want to modify outgoing vivox sound with fmod.

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [April 28, 2025, 1:43am UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/9 "2025-04-28T01:43:28Z")

</div>

Yes, this was implemented in [2.02.11](https://fmod.com/docs/2.02/api/welcome-revision-history.html#20211)

> - Core API - GameCore - Added in [FMOD\_GameCore\_XMAConfigure](https://fmod.com/docs/2.02/api/welcome-revision-history.html#fmod_gamecore_xmaconfigure). This can be used to control whether to allocate XMA codec hardware resources inside [FMOD::System\_Create](https://fmod.com/docs/2.02/api/welcome-revision-history.html#fmod_system_create). If not called before [FMOD::System\_Create](https://fmod.com/docs/2.02/api/welcome-revision-history.html#fmod_system_create) the resources will be allocated on first codec use.

You will need to call this function before the `FMOD.System` is created, which is easiest to achieve by adding a `PreSystemCreate` implementation to the FMOD Unity GameCore platform:

```diff
//Assets/Plugins/FMOD/platforms/gamecore/src/PlatformGameCoreScarlett.cs
namespace FMODUnity
{
     public class PlatformGameCoreScarlett : Platform
     {
...
+ internal override void PreSystemCreate(Action<FMOD.RESULT, string> reportResult)
+ {
+ reportResult(FMOD.GameCore.XMAConfigure(false), "FMOD.GameCore.XMAConfigure");
+ }
...
    }
}

```

---

<div class="post-metadata">

**Author:** ![PiktivSteffie](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@PiktivSteffie](https://qa.fmod.com/u/PiktivSteffie)\
**Post date:** [April 28, 2025, 7:56am UTC](https://qa.fmod.com/t/unity-sound-not-working-with-xbox-build/18769/10 "2025-04-28T07:56:26Z")

</div>

Thank you so much, this worked perfectly!
