When I click the play button, the pause button is automatically turned on. then I have to click the pause button again to run the game. Is there any way to fix this behavior?
You have have selected Error pause , so the game will be paused if there is any error.Uncheck Error pause in console.