using UnityEngine.SceneManagement; int buildIndex = 0; //Load the scene with a build index SceneManager.LoadScene(buildIndex);