An error about the script “LoadLevel” . I can’t able to create a new script in my project. Help Please.
This is happening because you are using an updated version of Unity (5.5) they did some changes in the way you manage scenes.
please past your loadlevel code so we can help you.
1 Like
using UnityEngine ;
using System.Collections;
public class LevelManager : MonoBehaviour {
public void LoadLevel(string name ){
Debug.Log("level load requested for"+name);
Application.LoadLevel(name);
}
public void QuitRequest(){
Debug.Log("I want to quit!");
}
}
Here is the Code/script of LoadLevel
replace:
`Application.LoadLevel(name);`
for:
SceneManager.LoadScene(name);
Let me know if works.