I’ve stumbled upon this issue, and searching here, have found many others with the same issue as me, however, most of the posts are from 2014, and some ocasional ones from 2020, without any solutions.
I’m using the Unity 2022.3.31f, and FMOD 2.03, with FMOD Studio also on 2.03 (I was using 2.02, but tried updating to see if the issue would fix. Unfortunately it didn’t).
The issue is very straight forward, the audios work fine while running on the editor, but nothing plays when in build.
I’m currently using Asio4all driver in my PC to decrease latency for my game.
I have made a custom PreInitialize script that calls
core.setOutput(OUTPUTTYPE.WASAPI);
However, after that, it changes back to Asio4all.
One thing that i have tried is to uninstall asio4all completely, when that happens, the output falls to “NOSOUND”.
One other thing i have tried that i’ve seen as suggested here: Building with Live Update, and then syncing fmod studio to profile the events. The events fire correctly, and the waveforms are even recorded in the fmod studio, however no sound players whatsoever. I can even go back in time to reproduce the recorded audio, and when i do that, the audio plays normally from FMOD Studio, but it doesn’t play from my game
I’ve uploaded my game source code to this drive link, if anyone can reproduce this issue:
And here is the FMOD Studio project:
Does anyone had some issue with this that have found out a solution?