- Home /
Reconnecting a player in an online game...
I have a four player game where I've heavily relied on connection ids 0,1,2 and 3 to determine the spawn location of certain objects the player owns (i.e. (if connectionToClient.connectionId == 1){do this in player 2's zone}). However on the very rare occassion a client drops and reconnects, naturally they will no longer have the same connection id. Is there a way to reconnect a player and keep their same connection id or is there a cleaner method that anyone knows? Thanks!
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Best way to host Unity2D Game online with multiplayer 0 Answers
Should I be using peer-to-peer networking for my 1v1 game? 1 Answer
I want to make a powerup with a an associated timer on the server side using mirror 1 Answer
How to port forward via script in unity 0 Answers