menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

+2 支持
Hi,

after upgrading to 2019.2 and activating the event-based packaging, I no longer have any audio in packaged games. I tried calling LoadInitBank in the GameInstance's init method since I initially thought that might be the issue, but it didn't change anything. One thing I noticed is that it seems no longer possible to have the GeneratedSoundbanks files (.bnk) in the game's content folder. Before when I manually generated the soundbanks via the Unreal Plugin's Generate window, it was built into the Content/WwiseAudio folder. Now that folder is used for the .uassets and Media files and the generated bank files appear in the WwiseProject's folder, which cannot be added as an "Additional Non-Asset Directory to Package" in the Unreal build settings.

The Log shows some "Error: Master bus structure not loaded: make sure that the first bank to be loaded contains the master bus information" messages at the beginning (hence my first try to add the LoadInitBank call manually) and later on just shows "LogAkAudio: Error: Invalid State Group ID", "LogAkAudio: Error: Event ID not found: 1062260725" and "LogAkAudio: Error: Failed posting event: XY" whenever an event is posted.

Any idea what could cause this?

Thanks,
Tobias
Tobias G. (220 ポイント) General Discussion

回答 1

+2 支持
Okay, found the solution. Since the InitBank is not referenced anywhere, it is not packaged into the game by default. You have to specify the /WwiseAudio folder (or whichever folder contains the InitBank asset) as an "Additional Asset Directory to Cook".
Tobias G. (220 ポイント)
Thank you so much for coming back and posting this. I had this exact issue and you saved me loads more time. Cheers!
...