FMOD loading Master and Music banks, but not the rest


So I’ve recently started using FMOD in my game and I’ve run across an odd issue that is similar to what other people have encountered but not precisely the same. Basically, I’m attempting to create a really basic volume control menu and as part of that, I need to store references to the banks that I’m using. These banks are Master, Gameplay, Music, and UI.

However, of those banks, only the Master and Music banks are being loaded by the system and any attempt to get references to the others results in a BusNotFound exception. I’ve checked and everything is being built correctly, and I’ve even set up a studio bank loader component to force the loading of all the banks, but this appears to have no effect. I’m using the latest versions of both FMOd and Unity so it shouldn’t be an integration issue.

Am I missing something obvious, or it this a bug?

Unfortunately I cannot really tell too much just from that. Can you see what is printed in the log file, this can be accessed in Unity -> FMOD -> Log Viewer.

The only thing I can think of right now might be a missing Studio plugin.

Hi Cameron, I’ve looked at the log viewer and as far as I can see there are no messages about missing plugins though I am new at this and there is a lot of text, so I may have missed it. However, I did notice that the master bank’s file name was being set correctly while the remaining banks appear to be given the name ’ : mode 02000202’. Could this be the cause of my problem?

Here’s a link to screenshot of the log viewer:

Everything appears to be correct in the log.

Double check you have the correct banks for the current platform in Unity.
Can you play events from the other buses in Unity?
How are you trying to get references to the other buses?

I can play events from any bus without any issue so they’re all accessible.

To get references to the other busses I’m catching the return from FMODUnity.RuntimeManager.GetBus(busString) where busString is a public string I fill with values such as ‘bus:/’ to get the master bank and ‘bus:/Music’ to get the music bank.

I’m not sure if this is the correct way to go about doing this, though I recall seeing it in one of the answers on this website.

That is the correct way.

Can you tell me the versions you have of:
Unity, FMOD Studio and the FMOD Integration.

Hi, sorry for the delay in my reply. I’m using Unity 5.4.1, FMOD studio 1.08.15, and FMOD integration 1.08.15. For some reason, I hadn’t thought about the fact that I was purposefully using an older version of Unity so it may be the cause of the issue.

Banks aren’t the same as buses.
Banks are collections of the assets, events and other content used in your project.
A bus is used to control the output of multiple events.

For more information, have a look at the FMOD Studio User Manual (in FMOD Studio press F1)

1 Like

Thank you! This comment lead me to find out the differences between banks and buses and helped me set up my buses correctly through the mixer view. I will now be able to continue working on the volume controls for my game.