This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Creating a game using Unity netcode, currently having some issues with spawn points. The player sometimes teleports to (0, 0, 0) on the map when spawning in.
I use the Spawn Manager with spawn points as it's children, and to get the available spawnpoints i just check if a spawn point is available.
I've attached the code I use that relates to spawning. It doesn't seem to be an issue with the spawn manager, as the debug.Log returns a valid spawn location. The player spawns on the spawn point normally, and almost immediately teleports to 0, 0, 0. It's random and doesn't have a pattern to it, and never happens to the host. Also if theres 2 players, all the players that arent the host get teleported (if it happens)
I can provide additional information such as code snippets or even try to get a video of it happening if needed.
Subreddit
Post Details
- Posted
- 3 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Unity3D/com...