Missing UnityEngine.SceneManagement.LoadScene method

Hello. It’s my first time when I am facing with that problem. As you can see on screens even when i add UnityEngine.SceneManagement my script won’t use it and i have call full name with every use. Restarting Unity and PC won’t help.88481-screenshot-2.png

Error says SceneManager does not contain LoadScene method. When typing it can detect only:
[88482-beztytułu.png|88482]

Commented line has no errors, but… huh. It should work in a different way.

That’s very strange. Have you tried re-installing Unity? I have no idea if that would fix it, but it’s my best guess.

Before you do that though, maybe you created a class called SceneManager or something? I’m not sure if VB has this, but with Mono-Develop you can press F12 and it will look for all of the members () of Scene Manager and tell them to you, so you could always check that and see if LoadScene is missing or maybe you just have 2 SceneManager classes. It sounds like something like that would be happening since the UnityEngine.SceneManagment.SceneManager.LoadScene(0) works.

I hope that you find an answer to this very unusual problem!