So basically i have this game with multiple levels and scenes and what i want to happen is when the player leaves and re-enters the room he re-enters in the same position he left. How can i achieve this?
You need to store the desired location in some kind of persistent, scene independent way: playerprefs, dontdestroyonload, static class, etc.
Please search first, you’ll find many duplicate questions/answers on this.
Google/Search: Unity scene change respawn player