Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
jibbs63's avatar
jibbs63
Protege
4 years ago
Solved

P2P how to handle internet loss

Hi,   I have my game setup (using UNITY) and running on PC ( and Quest ). My question is how do people usually handle when one player has their internet go out while in a match?   My game specifi...
  • jibbs63's avatar
    4 years ago

    Update for anyone seeing this. Apparently it is built into the SDK and both instances get the p2p disconnected event after about 10 seconds of no internet. I was previously testing it using two instances on the same computer and then blocking network traffic to one using my firewall. For some reason, that did not cause the disconnected event, even though I could not communicate between instances. I realized I was still able to ping the blocked instance though.

     

    However, I tried using two different machines and I got the disconnection events as expected.