To preface this, the studio I’m working with are using Visual Studio and the file pdb2mdb.exe to convert the code to dll’s or to mono debug files (?). I’m not sure on the exact methods but I do know that this VS solution gets built before the plugins folder and, therefore, the scripts can’t use FMOD as they’re being built in a different order than desirable.
To solve this, the director and myself have moved the FMOD scripts to the solution and, after many errors, have got it to mostly work but we’ve come across an error that I think is an FMOD bug, rather than a bug caused by putting the scripts somewhere it wasn’t really designed for.
We get a ‘BankLoadException: FMOD Studio could not load the bank ‘restOfPath/StreamingAssets/.strings.bank’ : ERR_FILE_NOTFOUND’.
I’ve been looking through the FMOD code for some kind of const string that holds the name for the Master Bank and Master Bank.strings but I’ve only found the code finding the directory to the banks.
Although I don’t fully understand the cause of this error, could it be that the banks it’s looking for/string is wrong and is hard coded somewhere and can then, therefore be changed to Master Bank.strings, which I do have in Streaming Assests (I should say now that the banks have all built correctly and are where they should be).
My thought right now is that it’s just looking for the wrong bank. The custom editor scripts already don’t edit the main runtime scripts so I feel there’s some links to code broken, or maybe references to different things.
But honestly, I’m not sure so all help is welcome.
Thank you in advance,
James