My player is not spawning at right position. I am facing this problem only in 1 scenario.
Scene 0, Portal A to Scene 1, Portal A → works fine
Scene 1, Portal A to Scene 0, Portal A → works fine
Scene 0, Portal B to Scene 1, Portal B → works fine
Scene 1, Portal B to Scene 0, Portal B–> player spawns at a different position than the spawn point.
I tried recreating portal and spawn positions at different locations thinking that the terrain might be causing some local problem but that is not the case.