ClientTimeout

Using Pun: 2.16 Photon lib : 4.1.2.19. It will cause "client timeout" after the second player joins the room. I am not sure if too much data sent by RPC. The video below:


(At about 5:05, it disconnected because of clientTimeout)

It has bothered me for a while. Please help me : (

Comments

  • JohnTubeJohnTube mod
    edited February 12
    Hi @Scoz,

    Take a look here.
  • In Checklist no.1
    Check the amount of data you are sending. If there are spikes or if your messages/sec rate is very high, this can affect the connection quality. Read "Send Less"

    How can I check spikes of messages/sec or my sending rate is high?
    And How do I know I send it too high, is there a roughly limit number of RPC calls/ sec?

    Many thanks
  • JohnTubeJohnTube mod
    edited February 13
    How can I check spikes of messages/sec or my sending rate is high?
    Check the dashboard analytics OR this tool.
    And How do I know I send it too high, is there a roughly limit number of RPC calls/ sec?
    A few (~10) per second is OK, I think. Because there are already other messages being sent: PhotonView serialization, etc.
  • I've found the problem. I am still trying to find a solution. Thanks to the PhotonStatsGui tool.
    Many thanks!
Sign In or Register to comment.