why my restart doesnt work properly?

My restart works using that SceneManager.LoadScene(“scene”) code but since I have multiple scenes, my character/player don’t restart in that scene as well. Why is it like that? Like as if my player left behind on the last scene before I restart.


This is because you probably need to set up a script to spawn the character at a spawn point per scene or you need to add a character in every single scene you create because SceneManager.LoadScene() only loads whatever was in the scene you loaded. So if it does not contain a character it will not load a character.