Hi guys
I’m working on my game over screen that simply allows the player to see their score, play again or exit the game. This is all working great apart from thing, the music is causing the game to crash when switching to my main game screen.
I’ve narrowed it down to the
Assets.gameMusic.play
Without this, the game reloads perfectly and starts a brand new game. The music is inside the game show method and i’m making sure to stop the music and dispose of it before the screen changes. I then reload the music if the player clicks on play again button and that is what the issue is.
Any idea on how to solve this? D: if you need anything else such as more code or info then just let me know!
Thanks