Hi, I’m creating my first project using FMOD in Unity. It works properly on the editor and the audio works properly on my computer, but players have reported that the audio doesn’t work on their computers, and I’ve tested that the audio doesn’t work on android also. Can somebody help me? Thanks.
Hi,
Are you able to retrieve any logs from your players’ builds, or your Android build, that contains any noticeable FMOD errors? If not, or if you can’t, a place to start would be changing the logging level to “Log” in FMOD for Unity’s settings, and retrieving a log from an Android development build where you’re trying to play sounds with FMOD.
If you post the log here so that I can take a look, I should be able to help diagnose the issue.
Hello, did you manage to solve the issue? I’m presenting the same problem.
Can I get you to follow what I said in my previous reply in this thread, and provide me with a log where the issue occurs, with FMOD’s logging level set to “Log”, and API error logging enabled?
Additionally, what versions of Unity and FMOD for Unity are you using?
I Leah, I managed to solve it by following these steps:
-
Set FMOD’s build path within Unity’s folder structure for easier bank management.
-
Configure Unity’s FMOD settings to use StreamingAssets for cross-system compatibility.
-
Build FMOD banks into
Assets/FMODBanks
in Unity, ensuring proper inclusion in builds, same route in FMOD. -
Test builds to confirm
StreamingAssets/FMODBanks
is loading banks correctly on all systems.
However this caused a new issue:
After setting FMOD’s custom build path and updating Unity’s bank subfolder settings, Unity failed to recognize new or updated banks, for example, I tried to create a new bank named CINEMATICS, and it won’t show on the engine. It is like if it’s still reading the old bank location. Despite confirming the paths and building banks in FMOD, Unity still referenced outdated or missing banks, leading to errors or the inability to load newly added banks in the project.
I’m using FMOD version 2.02.22 and Unity version 2021.3.24f1 I cannot provide an error log because Unity is not detecting this as an error.
What Source Type and Build Path are you using under Bank Import settings in Unity? If you’re using the “FMOD Studio Project” source type, FMOD for Unity will only be looking for built banks in the same directory as your FMOD Studio project, even if you’ve set your bank output directory to a different location in Studio. If this is the case, you’ll want to use the “Single Platform Build” or “Multiple Platform Build” source type, and confirm that the location lines up with your new bank output directory.
Hi Leah!
Thank you for your response. I’m normally building using the Single Platform Build
option, since we’re only building for desktop. I made sure that all banks are generated and read from the same folder, I will provide with some screenshots showing the routes for the banks, they’re all in one single image since the forum won’t let me put more than 1 image. Please, do let me know if there’s anything off:
Assuming that the built banks output directory is indeed building to the expected location, everything in your image seems to be in order. I’ve also double checked on my end with your exact settings and versions and haven’t run into any issues. Are you making use of source control for either your Unity or FMOD Studio project that include your built banks?