hi
Hi, I’m having trouble with a FMOD Studio event it’s not playing, and I don’t understand why.
I’m using a LoadAudioFiles function to get the path to my bank files, and it returns the correct path. I have successfully loaded both the .bank and .strings.bank files.
Here’s the code I use to load the banks: ```c++ FMOD::Studio::Bank* masterBank = nullptr;
FMOD::Studio::Bank* stringsBank = nullptr;
m_studioSystem->loadBankFile(LoadAudioFiles(“walkingAudio/Build/Desktop/walking.bank”).c_str(),
FMOD_STUDIO_LOAD_BANK_NORMAL, &masterBank);
m_studioSystem->loadBankFile(LoadAudioFiles(“walkingAudio/Build/Desktop/walking.strings.bank”).c_str(),
FMOD_STUDIO_LOAD_BANK_NORMAL, &stringsBank);```
And here’s the code I use to get and play the event:
FMOD::Studio::EventDescription* eventDesc = nullptr;
FMOD::Studio::EventInstance* eventInstance = nullptr;
m_studioSystem->getEvent(“event:/walking”, &eventDesc);
eventDesc->createInstance(&eventInstance);
eventInstance->start();
eventInstance->release();
Even though the path "event:/walking" is correct, the event still doesn’t play.
I’m using FMOD Studio API. Does anyone know why the event might not play despite the correct path?