All,
I’m running into an issue where the music I have starting in the first (splash screen, call it A) scene isn’t being stopped when it gets to a later scene (B) where new theme music plays. The two are now heard to play over top of each other. Oddly enough, if I jump to yet another scene (C), then back to the previous (B) scene, the B scene music starts up on its own correctly.
So my question is …
Is perhaps the best method to play different theme music in different scenes to place a non-dying GameObject in the first scene that references a number of different pieces of theme music (let’s call them 1,2,3,4) and then compares (Application.loadedLevel) and loads and plays a new piece of music depending on what level is loaded?
Thanks.