I’m trying to have mainmenu have music playing in background, but when I load the level, and return back to mainmenu, the music doesn’t start. Also it breaks the audiosource so I have to restart Unity everytime I load back to mainmenu from other scene.
Here is the script im using to play audio:
var MenuAudio : AudioSource;
function Start() {
MenuAudio.Play();
print("Playing");
}
The video explains better than words.
Video Link