Help! My build has failed with the CS0234 error, but when I go into the script, there’s no problem. This is extremely confusing.
OK, I fixed it. I had to change the using UnityEditor.SceneManegment to using UnityEngine.SceneManegment.