Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

how to load bank in unreal5.1 by c++ code

+1 vote
i integrate wwise 2022.1.2.8150 to unreal5.1 project.

when i use:

UAkGameplayStatics::LoadBankByName(FString("UI.bnk"));
FOnAkPostEventCallback nullcallback;
UAkGameplayStatics::PostEvent(nullptr, GetOwner(), int32(0), nullcallback, false, "fire");
 

the error message is:

[2023.03.06-07.50.20:640][207]LogWwiseFileHandler: Error: IO Hook doesn't support opening by Name: UI.bnk
[2023.03.06-07.50.20:640][207]LogWwiseFileHandler: Error: IO Hook doesn't support opening by Name: UI.bnk
[2023.03.06-07.50.20:640][207]LogAkAudio: Warning: FAkAudioDevice::LoadBank: Failed to load bank UI.bnk. The operation failed.
[2023.03.06-07.50.20:642][208]LogWwiseMonitor: Error: Cannot open file UI.bnk in path(s):
[2023.03.06-07.50.20:642][208]LogWwiseMonitor: Error: Bank Load Failed Name: 1551306167
[2023.03.06-07.50.20:642][208]LogWwiseMonitor: Error: Event ID not found Name: 2678880713 GO: 1760564701408

there is no new bank item  in wwise 2022.1.2.8150 after integrated to ue5.1

how to set load path and do i need to copy bank files to exe directory, where to copy.

this is little document or examples about the new version wwise to integrated to ue 5.1.
asked Mar 6, 2023 in General Discussion by yan s. (110 points)

Please sign-in or register to answer this question.

...