Application.LoadScene is "obsolete" and doesn't work like it does in the space shooter tutorial.

It says to instead use “SceneManager.LoadScene” , but when I do it gives me an error. When I look for potential fixes it give me an error with those fixes.

Add this line at the top: using UnityEngine.SceneManagement;
and don’t forget to insert a parameter SceneManager.LoadScene (0);