Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

+6 votes
2023.01.29-09.20.58:133][241]LogWwiseFileHandler: Error: IO Hook doesn't support opening by Name: New_SoundBank.bnk
[2023.01.29-09.20.58:133][241]LogWwiseFileHandler: Error: IO Hook doesn't support opening by Name: New_SoundBank.bnk
[2023.01.29-09.20.58:133][241]LogAkAudio: Warning: FAkAudioDevice::LoadBank: Failed to load bank New_SoundBank. The operation failed.
[2023.01.29-09.20.58:137][242]LogWwiseMonitor: Error: Cannot open file New_SoundBank.bnk in path(s):

but there has New_SoundBank
in General Discussion by 有有 (160 points)
You figure this out?
when I loadbank like this
UAkGameplayStatics::LoadBankByName("New_SoundBank.bnk");
I am running into this same problem. Was there ever a solution found? It almost certainly feels like a bug because if the bank is automatically loaded, then my load and unload calls work. Once the bank is unloaded, these errors occur using the same functions and arguments and the bank can't be loaded and unloaded. The returned error is therefore incorrect since it can locate and unload the bank if the bank was automatically loaded prior.

When bank was previously auto-loaded by Wwise:
"
Bank Load Request Received (from [...].bnk)
Bank Already Loaded (from [...])
Bank Unload Request Received (from [...].bnk)
Bank Unloaded (from [...])
"

Then, running the exact same functions and arguments:
"
Bank Load Request Received (from [...].bnk)
Cannot open file [...].bnk in path(s):
Bank Load Failed
Bank Load Failed (from [...])
Bank Unload Request Received (from [...].bnk)
Unload bank failed, requested bank was not found: [...].bnk
"

Our Unreal Integration is correctly pointing to the WwiseProject, the GeneratedSoundBanks folder of the WwiseProject and the correct Wwise Installation version. Additionally, when the above errors occur, it shows the bnk under the "Object Name" column in the profiler alongside the request messages, indicating that it has indeed located the bank but is failing to load and unload it and not giving useful information why.

1 Answer

0 votes

Have you defined the Generated Sound Banks Folder inside your Unreal Project Settings?

by Lukas P. (190 points)
yes,I have. like this " ../Occulmist_WwiseProject/GeneratedSoundBanks"
i met the same problem.
the code is:
    UAkGameplayStatics::LoadBankByName(FString("UI.bnk"));
    FOnAkPostEventCallback nullcallback;
    UAkGameplayStatics::PostEvent(nullptr, GetOwner(), int32(0), nullcallback, false, "fire");

the error is:
[2023.03.06-03.19.04:224][463]LogWwiseFileHandler: Error: IO Hook doesn't support opening by Name: UI.bnk
[2023.03.06-03.19.04:224][463]LogWwiseFileHandler: Error: IO Hook doesn't support opening by Name: UI.bnk
[2023.03.06-03.19.04:224][463]LogAkAudio: Warning: FAkAudioDevice::LoadBank: Failed to load bank UI.bnk. The operation failed.

when i packaged to exe, it print error log.
what is the right path, and how to packag exe rightly.
I have encountered the same issue and so far haven't found a solution.

My generated soundbanks folder in wwise and project settings in unreal match.
I've also tried giving an explicit path when attempting to load the bank and recieved the same error.

I'd like to add that "Cannot open file [..] in path(s):" and then NOT outputting the path it's trying to load is both incredibly unhelpful and very frustrating!
...