If only it were that simple... I remember last jam trying desperately calling all the functions being absolutely sure the banks were loaded, but in the end, sfx would play fine, and music wouldnt. Only thing that sortve fixed it was delaying the start of the music by a second or so, which felt arbitrary and weird. And same for this, sound fx were fine, but music was a no go. and even delaying things didnt matter. Either way, it feels pretty humongously bogus that this is an issue at all, when you use a tool like this, it should "just work". Or a the very least tell you why it isnt and a straightforward recourse for how to fix it.
yeahh as far as im aware everything is marked persistent.
seems to spit out an event not found exception in webgl when trying to create the instance for the music event. But I don't really get it since the other sfx events play fine. And I've made sure banks were loaded before trying to create the instance.
Edit: .So I guess I wasn't understanding how to properly wait in the code for the banks to load.
https://fmod.com/docs/2.00/unity/examples-async-loading.html
Following this helped me do it right I guess, still weird why this is only an issue on WebGL. But boy I just hate FMOD's api.
Too bad can't yet reup it as a WebGL build. I get why they cut off the uploads, but man is it annoying for reasons like this.