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.

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. (120 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, 2018 by Kimmo K. (400 points)
...