社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

+6 投票
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
分类:General Discussion | 用户: 有有 (160 分)
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个回答

0 投票

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

用户: Lukas P. (190 分)
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!
...