Can I load two bank files?


(hoyong) #1
  • fmod unity version : 1.10.04
  • unit version : 5.6.5p1

I have two bank files. (ex, one FX bank , one Voice bank)
When you use the code below, Only the bank i added first was loaded.
“ERR_EVENT_ALREADY_LOADED” error occurs on second loaded bank.

Is there a way to load both banks?
--------------------------------Code--------------------------------------------
this.studioBankLoader.Banks = new List();
this.studioBankLoader.Banks.Add(Application.streamingAssetsPath + “/” + “Voice.strings.bank”);
this.studioBankLoader.Banks.Add(Application.streamingAssetsPath + “/” + “Voice.bank”);
this.studioBankLoader.Banks.Add(Application.streamingAssetsPath + “/” + “Fx.strings.bank”);
this.studioBankLoader.Banks.Add(Application.streamingAssetsPath + “/” + “Fx.bank”);
this.studioBankLoader.Load();


(Cameron Baron) #2

Only the Master Bank should have a .strings bank, this contains the names of all the objects in the project. I would be expecting to see ERR_FILE_NOTFOUND.

Can you post the exact log from Unity?