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.

+2 votes
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
in General Discussion by Tobias G. (220 points)

1 Answer

+2 votes
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".
by Tobias G. (220 points)
Thank you so much for coming back and posting this. I had this exact issue and you saved me loads more time. Cheers!
...