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. Contact Sales if your project requires a support plan.

How to change states according to scenes in Unity?

0 votes
So, i added soundbank to my preloader scene, then triggered an event Play Music in preloader with state - none, then assigned to each scene its own state (AKState), everything works fine except when i go back to a previous scene the music begins to play over itself, it's like they've been triggered with a slight offset.

How can i solve this?
asked Sep 26, 2017 in General Discussion by Miras O. (100 points)

1 Answer

0 votes
You should be able to set "Audio Instance Limits" to 1 for musics or the groups they are contained in, or it might be possible to specify Transitions in Transition tab so that according to some conditions you set up the newer song would be faded into and the older one faded out and ended. I think that the option for audio instances at least should be available in "Advanced Settings" tab for Switch groups, playlists, music sequences and audio clips themselves.
answered Feb 9 by Kimmo K. (270 points)
...