I've been tearing my hair out about this for hours, for some reason my client and ONLY client is getting kicked out of the game after 10 seconds. This isn't due to inactivity or anything of the sorts. I've provided an image of the errors on the client and the script. I'd really appreciate if someone has an answer :)
#Netcode for GameObj & Unity Relay issues
1 messages · Page 1 of 1 (latest)
This should work. make sure your packages are up to date. Sounds like something may be getting called more than once.
I would start using the Sessions SDK. Makes things way easier.
So will the sessions sdk fix it or just make it easier to read?
I'm not entirely sure what the issue is. But the session sdk handles creating the relay and lobby for you behind the scenes. So you won't get that particular error at least
Okay, thanks :)
Is there a decent flushed out example of using Sessions?
I built a good example of a lobby that can change player data (character name, is ready, etc.). But when I wired in Relay it only takes 2 of the four players. I know Unity has some full examples I can download. Do any of them use Sessions?