unity load next scene in build code example
Example 1: unity load next scene
//for unity c#
using UnityEngine.SceneManagement;
.....
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
Example 2: how to load the next scene in unity
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);