I can’t seem to be able to call GetEvent, even though the asset clearly exists.
The first thing I tried, was for one-shot sounds to be called using strings (“event:/path/asset”), but that didn’t work, and I kept getting an error.
I then tried to have direct FMODAsset references instead, which works great for one-shot sounds!
But it didn’t work for GetEvent. When I do that, I get an error:
FMOD Error (ERR_EVENT_NOTFOUND): The requested event, bus or vca could not be found.
Which is odd, since I’ve assigned the asset through the inspector. It clearly exists, it can’t even be a typo on my end in this case.
I did notice something about having to load the bank before you use it, but I only found an old thread with code that had to be modified/updated for it to even compile, and when it did compile, it didn’t work
Plus, there’s nothing in the Unity Doc about having to load banks in code, and the oneshot sounds work.
Any idea what gives?