Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

2
Help with spawn points using Unity Netcode.
Post Flair (click to view more posts with a particular flair)
Post Body

https://preview.redd.it/8i3y03vjw9od1.png?width=830&format=png&auto=webp&s=c5991c9f332da94af8ac41c43ab8d188cbf034c0

https://preview.redd.it/3ahvgs9kw9od1.png?width=810&format=png&auto=webp&s=b08bd78fac5d43859d144782fb95049c92e81635

https://preview.redd.it/phkoy2pkw9od1.png?width=1393&format=png&auto=webp&s=f8643e55d68af5bd09ad76592220a8ebcb8738f2

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.

Author
Account Strength
50%
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
203
Link Karma
143
Comment Karma
60
Profile updated: 4 days ago
Posts updated: 1 week ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 months ago