# No 3D audio in Unity editor (but is in Build)

**URL:** <https://qa.fmod.com/t/no-3d-audio-in-unity-editor-but-is-in-build/17891>\
**Category:** Unity\
**Tags:** unity\
**Created:** [November 1, 2021, 10:41pm UTC](https://qa.fmod.com/t/no-3d-audio-in-unity-editor-but-is-in-build/17891 "2021-11-01T22:41:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasHoey](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@ThomasHoey](https://qa.fmod.com/u/ThomasHoey)\
**Post date:** [November 1, 2021, 10:41pm UTC](https://qa.fmod.com/t/no-3d-audio-in-unity-editor-but-is-in-build/17891/1 "2021-11-01T22:41:12Z")

</div>

Hello!

About halfway through a day of optimisation for a 3D open world game with 3D audio, I ran into this issue.

Issue:

When I enter play mode in unity, the game audio narrows to mono playback and only activates a very few (often none) amount of events. I built a debug scene where there was just one event - a stereo spatial bike event - and that doesn’t even play! So it seems less like a performance issue (because it’s handled far more than just that event before. lots of other mono spatial bike events for AI and plenty of environment audio) and well…i dunno. It’s baffling me.

When:

Happened while I was optimising the bike audio event. The spoke audio had a nested event within it that had another parameter for the speed of the wheel. All I did was consolidate the two events and two parameters into one. I straight up just erased one of the events for the mono event. I also consolidated some separate Spatializers into one on the master channel (initially had spatializers on separate channels for different drop offs).

So…it should have improved the performance, right? Well, it does seem like it’s something unrelated but i thought i’d note down what i was doing in case it’s helpful.

* * *

One very strange thing and potentially important thing:

When I stop the play mode, I can momentarily hear the spatial audio. In the time that it takes between clicking stop and it fully stopping, the audio is…fine! Normal event.

Uploading a profiler pic of the moment I stop play mode and the 5.1 spatial audio STARTS!

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/f/f4703cb0f5c7967f327e76c96d0ada35c1e8e955.png)

bonus weird bit!

here’s the 3D view of the SINGLE stereo bike event during the (mono) play mode

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b952339c859bbc0a2b85eb4911f1d24b8d7d7fed.png)

and after stopping the play mode (when it goes to 5.1)

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d1d8988f46389bdea76b6b57ae6e3e1428e96d9d.png)

the bike event is a few units in front of the listener (where it should be)

So why the hell are there a scattering of events behind and to the left when there’s only the one bike event active in the scene?

What the hell does all this mean? I’ve checked with the programmers, nothing has changed on their side. Seemingly the audio works fine on their end AND I can hear everything normally when I do a build…so it’s a local issue?

I have reinstalled Unity 2019.3.10f1 and recloned the repo. I’m really unsure what the issue is here.

Any ideas?

---

<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:** [November 4, 2021, 11:04pm UTC](https://qa.fmod.com/t/no-3d-audio-in-unity-editor-but-is-in-build/17891/2 "2021-11-04T23:04:12Z")

</div>

> [@ThomasHoey](#):
>
> When I enter play mode in unity, the game audio narrows to mono playback and only activates a very few (often none) amount of events.

In your optimisation efforts, did you change the _Max Instances_ on any of your buses or events; specifically the master bus? That would explain why you are only hearing one sound at a time, but perhaps not why you are hearing 0 sounds. 0 sounds would probably be because the event’s _Stealing_ is set to “Oldest” and there is another instance that has been created and the listener is outside its max attenuation range, resulting in all the other nearby instances not playing. In that case it would be worth setting the _Stealing_ mode to “Virtualize” for any of these events.  
Can you please try the above and let me know if that improves things, otherwise can you please give me your FMOD version so I can look into this further?
