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.

0 votes
Hi,

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.

Cheers,
Tobias
in General Discussion by Tobias G. (220 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
by Dan M. (2.6k points)
...