fmod-gdextension icon indicating copy to clipboard operation
fmod-gdextension copied to clipboard

"Requested X could not be found" with BankLoader.

Open natanmaia95 opened this issue 1 year ago • 2 comments
trafficstars

I seem to get errors these even when not calling any Fmod functions, just adding one BankLoader in the scene and loading my master. The project runs without any issues, however; My audio and automation works fine. image image

Apparently these errors are caused if I either load my "Master.strings" bank after the "Master" bank, or don't load strings at all. Loading strings before master fixes this, but that wasn't explained anywhere in docs (I understand they're still WIP). I couldn't find anywhere in FMOD docs that order mattered either, or why should I include the strings bank even if I just use IDs. I'm open to be corrected and informed, though.

Also these errors aren't clear at all. It's a bank load failure but as the error mentioned it could be an event load failure I thought it was a problem with my events, which wasn't the case.

Here's the entire error strings I had to copy from godot's "right click error" interaction. Not sure why these don't display fully but that's a godot thing, not a godot-fmod thing.

E 0:00:00:0776   push_error: The requested event, parameter, bus or vca could not be found.class godot::Ref<class godot::FmodBank> __cdecl godot::FmodBank::create_ref(class FMOD::Studio::Bank *)D:\a\fmod-gdextension\fmod-gdextension\src\studio/fmod_bank.h13
  <C++ Source>   core/variant/variant_utility.cpp:1091 @ push_error()

E 0:00:00:0777   push_error: The requested event, parameter, bus or vca could not be found.class godot::Ref<class godot::FmodBus> __cdecl godot::FmodBus::create_ref(class FMOD::Studio::Bus *)D:\a\fmod-gdextension\fmod-gdextension\src\studio\fmod_bus.h9
  <C++ Source>   core/variant/variant_utility.cpp:1091 @ push_error()

E 0:00:00:0777   push_error: The requested event, parameter, bus or vca could not be found.class godot::Ref<class godot::FmodBus> __cdecl godot::FmodBus::create_ref(class FMOD::Studio::Bus *)D:\a\fmod-gdextension\fmod-gdextension\src\studio\fmod_bus.h9
  <C++ Source>   core/variant/variant_utility.cpp:1091 @ push_error()

E 0:00:00:0777   push_error: The requested event, parameter, bus or vca could not be found.class godot::Ref<class godot::FmodEventDescription> __cdecl godot::FmodEventDescription::create_ref(class FMOD::Studio::EventDescription *)D:\a\fmod-gdextension\fmod-gdextension\src\studio\fmod_event_description.h11
  <C++ Source>   core/variant/variant_utility.cpp:1091 @ push_error()
  
  W 0:00:00:0967   FmodManager.gd:9 @ _process(): FMOD Sound System: No listeners are set!void __cdecl godot::FmodServer::_set_listener_attributes(void)src\fmod_server.cpp258
  <C++ Source>   core/variant/variant_utility.cpp:1111 @ push_warning()
  <Stack Trace>  FmodManager.gd:9 @ _process()

I'm running on Windows 11, godot 4.2.2, in debug run (F6).

natanmaia95 avatar Sep 19 '24 17:09 natanmaia95