Restarting a scene with SceneManager

I’m trying to restart my level whenever the player looses:
But when I restart the scene I get an excess scene that is loading and additionally I get an unloaded scene for each time I play the scene.


I can remove all unloaded scenes in the hierarchy, but I can’t remove the loading scene. This is annoying because I cannot edit and save SampleScene. Clearly I am not restarting the scene properly. Anyone know what I’m doing wrong?


Try without specify LoadSceneMode, just do


I mean, do not need to specify the LoadScene mode.

Good luck!