Spawnpoint name in destination scene not working

Announcements, support questions, and discussion for Quest Machine.
Post Reply
Geri860
Posts: 8
Joined: Fri Sep 10, 2021 9:00 am

Spawnpoint name in destination scene not working

Post 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?
User avatar
Tony Li
Posts: 21926
Joined: Thu Jul 18, 2013 1:27 pm

Re: Spawnpoint name in destination scene not working

Post 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.
Geri860
Posts: 8
Joined: Fri Sep 10, 2021 9:00 am

Re: Spawnpoint name in destination scene not working

Post 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
User avatar
Tony Li
Posts: 21926
Joined: Thu Jul 18, 2013 1:27 pm

Re: Spawnpoint name in destination scene not working

Post by Tony Li »

Glad to help!
Post Reply