Unity 5.3 Restarting current scene

Hello, before Unity 5.3, I could do

 Application.LoadLevel(Application.loadedLevel);

But now it’s something weird with SceneManager. I’ve read documentation but nothing. How do I get the current scene and load it (Unity 5.3f4)?

Thanks!

I haven’t tried yet, but it should be something like this:

	Scene loadedLevel = SceneManager.GetActiveScene ();
	SceneManager.LoadScene (loadedLevel.buildIndex);

As Kermitt said, but just in one line:

SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().buildIndex);

Tested this on the survival shooter tutorial (the current tutorial uses the obsolete loadlevel code).

@kermitt Thanks it helped, but when it resets the scene, the shading is much darker. However I doubt that will actually happen in the actual build. Thanks.

kevinrocks_786
I just have quick question about the shading, is it going to be a problem?
I have a similar problem, the scene restarts but shaders go dark, and in my case its really visible and looks bad.