The player goes through a door and change scene. If I come back, how can I have the player appear where it left off?

I am designing a game where the player is going through doors to solve a puzzle to open up doors further down the game. But the player needs to go through a door, solve the puzzle, and come back out through the door it went through so it should spawn a that door. However, the player keeps spawning at the beginning of the level.

I’ve tried using PlayerPrefs to assign manual spawn points to spawn from but it doesn’t work. Any help? I’ve been stuck at this for too long :frowning:

You need to check PlayerPrefs in void Awake(), and Instantiate in Start()