Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

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)
...