Community Q&A

Where Wwise users help each other out!

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

[UE4] Bank is unloaded although music is still playing

0 votes

I'm having the problem that Soundbanks are apparently unloaded while a music event in that bank is still playing in Unreal which leads to that event just cutting off. Is there something I can do to prevent unloading of a bank? I do still keep a reference to the Play event, but that doesn't do anything.

asked Aug 14, 2019 in General Discussion by Tobias G. (190 points)

1 Answer

0 votes
Hi Tobias,

I can't comment much about the specifics of unreal engine here but what I can let you know is that Playing events keep an additional reference on the stuff they need from soundbanks. This means, that while I wouldn't advise it, if you unload a bank while something is playing it will often continue to play without issue.

> Is there something I can do to prevent unloading of a bank?

You need to figure out why the bank is being unloaded. I don't know specifics of how unreal loads/unloads banks. Look carefully at the profiler log with soundbank logging enabled. If you are a coder or work with one look for calls to AK::SoundEngine::UnloadBank.

Hope that helps

Dan Murray
answered Aug 20, 2019 by Dan M. (2,660 points)