I have a 2D game where I use the following code on my Start button in my Menu scene and for the Restart button once my player dies in the Game scene. The problem is occurring only when I play the game on my real device with the Build & Run Unity setting. I have two buttons that move my player, after pressing them a few times the movement would lag and the Menu scene would overlap over my Game scene while playing. It occurs every time the game starts. More directly put. I am playing and suddenly a black background and two big START and SETTINGS buttons flash during my playing and lag my controls and then they go away. Does anyone have ideas where this issue might arise from?
public void LoadScene(string sceneName)
{
SceneManager.LoadScene(sceneName);
}