I'm editing paradiver to have a main menu scene and there is this bug where you hit play, and it works, but then you pause and return to menu and hit play again and it keeps the game paused. any ideas?
Just seen this...
Okay so you want to have "using UnityEngine.SceneManagement;" at the top of your script.
To restart the active scene: SceneManager.LoadScene(SceneManager.GetActiveScene().name);
To load a different scene in: SceneManager.LoadScene(scenenumber); where you find the order of the scenes in the build settings. You may need to add active scene to the build list, but that's just one button click at the bottom right of the box where you're ordering the scenes