- Home /
Returning to menu screen through pause menu. No sound.
Hello.
I had just created my pause menu, and I have a problem.
My main menu has music, sound and a fade in/out script. The music comes from a Game Object attached to the camera and the screen fades when I start the game.
When I quit back to the menu through the pause menu, there is no sound, music and the screen is still black from when it faded out. The sound should play on start, I have set it to.
I tried to disable the fade in/out script and yes, the menu does appear. So I know the game doesn't just crash.
I really have no idea why this is, does anyone else know?
Answer by ferapellido · Apr 26, 2012 at 08:01 PM
I dont really understand what youre doing. If your menu is a different scene, I use an empty gameobject called musicplayer, with playonawake on, and it works perfectly.
That's exactly what I am doing. When I return to the $$anonymous$$enu, it just doesn't play, and the screen is still black from when I fades out.
Answer by Unnamed · May 07, 2012 at 03:00 PM
Don't know if you can bump on Unity Answers, but I need help. So bump.
you figure out any solution to this? I'm currently experiencing the exact same thing. Screen is black at the menu screen when reloading the menu from a level scene
Answer by necrotalis · Sep 27, 2012 at 12:45 AM
Had the same problem. Solved it by adding this in Start():
void Start ()
{
AudioListener.volume = 1;
}