Page 1 of 1

Spawnpoint name in destination scene not working

Posted: Sun Oct 03, 2021 8:47 am
by Geri860
Hello there.
So I've set up everything based on the documentation, but when my player enters the scene portal, the player not starts at the spawnpoint. The strings are match, it throws no error that spawnpoint does not exists or smthing.
What could be the problem here?

Re: Spawnpoint name in destination scene not working

Posted: Sun Oct 03, 2021 8:54 am
by Tony Li
Hi,

Does your player GameObject have a Position Saver component, and is the Position Saver's 'Use Player Spawnpoint' checkbox ticked?

If your player has more than one Saver component, make sure they all have unique Key values.

Also check that some other, external script isn't forcing the player to be in a specific location and not allowing the Position Saver to move the player to the spawnpoint.

Re: Spawnpoint name in destination scene not working

Posted: Sun Oct 03, 2021 9:06 am
by Geri860
All done :)
The problem was that I did not add the "Position saver" script to the player and did not ticked the "Use player spawnpoint" bool.
Thank again Tony li :D

Re: Spawnpoint name in destination scene not working

Posted: Sun Oct 03, 2021 9:35 am
by Tony Li
Glad to help!