I am trying to load my level in my game and I am getting the following error

UnityEngine.Application.LoadLevel(int)’ is obsolete

This means that in the version of Unity you are using, the method of loading a scene by using its index in the scene list is no longer supported, instead you should load scenes by their name.

eg. Application.LoadLevel(“MyScene”);

This is always a better solution in my opinion anyway as referencing things by index makes it unclear in code what scene is being loaded, and can break if you then add, remove, or reorder scenes within the scene list.

Unity created a new sceneManager class.

To access it and use it add the namespace above
Using unityEngine.sceneManager

After that say application.scenemanager (urScene)