::If you have been following Part 12, and tried to load the save in the Player Home, you would realise that the character gets stuck and does not move.
The Load Game button on the screen was just for debugging purposes, and in the subsequent parts, we made it so that the game will only be loaded from the title screen.
The problem is caused by OnLocationLoaded()
not running when you load the same scene. Simply call the function when the button is pressed and it should be fixed.
Alternatively, you can add this at the end of the function SceneTransitionManager.ChangeScene() and it will work:
if(locationToSwitch == currentLocation)
playerPoint.GetComponent<CharacterController>().enabled = true;