This version of Unity is unsupported.

SceneUtility.GetScenePathByBuildIndex

public static string GetScenePathByBuildIndex(int buildIndex);

Returns

string Scene path (e.g "Assets/Scenes/Scene1.unity").

Description

Get the Scene path from a build index.

The build index refers to the index into the list of Scenes as specified in the Build Settings window.