Wwise + Unity: How to keep music playing on scene change?
Hey everyone,
I’m working on a project with a loading system somewhat similar to games like Half-Life - by that I mean that you complete part of a “level”, then a new Unity scene is loaded which appears to continue on from the same place you were in at the end of the last scene.
We sometimes have music playing near when a new scene is loaded, however all audio is cut out when a scene changes. Ideally I’d like music to be able to continue playing if possible. IIRC Half-Life did abruptly cut out music if you entered a new loading area and the game didn’t suffer too much for it, though it would nice to have a more seamless transition!
I’m using Unity and Wwise. So far I’ve tried a couple of things:
-In case the issue was caused by a soundbank being unloaded, I tried setting the soundbank to not be unloaded, and this didn’t fix it
-I also set the “WwiseGlobal” object to “Don’tDestroyOnLoad” in case that was related, but no luck there either!
Is anyone able to point me in the right direction?