Unable to set player's spawn location
See original GitHub issueShort description
SpawnSystem
ignores changes in spawn location.
Expected behaviour
First of all, my apologies if I am just missing something. However based on a brief scan of the source code, I would expect, that if I change the position of SpawnSystem
location, the player will spawn at this new position.
This is not the case. The player always spawns at the default (0, 0, 0) position. The SpawnSystem.cs
script is passing the
correct position to the InstantiatePlayer
method so the problem must be somewhere else.
To Reproduce Steps to reproduce the behavior:
- Go to
TestingGround
scene - Change the position of Location 01 (child of
SpawnSystem
game object) - Hit play
- Player spawns at position 0, 0, 0, ignoring the position you set in
SpanSystem
’s location
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
setworldspawn is not spawning players to the exact place
Unlike spawning at the world spawn, a player's spawn point is set at specific coordinates; the player will always respawn on the same...
Read more >Need Help With Server, Players Cannot Choose Spawn
I can make a new character I just can not spawn in a new location. Any help would be greatly apricated!
Read more >How to disable/enable spawn locations for specific players
If you want you can disable each team's 'AutoAssignable' property and then enable each spawn location's 'AllowTeamChangeOnTouch' property. https ...
Read more >Can't set World Spawn for New Players
No matter what I do I cannot set the world spawn for new players. ... the middle of the world, NOT the location...
Read more >How to Set Your Minecraft Server Spawn - Knowledgebase
This command will set a Minecraft world's spawn point to the current location of the player who issued the command. This must be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks everyone for chiming in. I have asked the 3d modeler to remove the keys from the model’s root, she provided me with new models which will soon be integrated on
main
andart-assets
, which should fix this issue.Thanks! And yes, we implemented the fix as described by @jandd661