Hi, I ran into a situation in our game where after loading the game, the music that was in the previous scene continues playing over the music over the new scene. Here is our set up:
1. Added Sound to Scene With a Sound script - Type: Music, Play across scenes: Checked!
2. On start/load Action List, fade in the music sound on loop.
3. On walk out of the scene triggers, the action list has an action to fade out the music (if we don't want it anymore)
4. This is the same for most scenes in our game
AC: 1.46
Repro steps:
Save the game in a scene that has background music
Walk into another room with different background music
Load the game
Is there a better way to do this or to prevent the music from continuing to play while loading the game?
Thanks!
Comments
However, a new music system will be introduced in v1.51 that will make the process much more reliable and easier.
My recommendation would be to transfer to the new music system when it is released. The playback of music will be automatically incorporated into the save system. Not sure if crossfading will be a part of the initial phase, but I'll see if it can be.