ClientTimeout

Options
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:

https://youtu.be/5tQcFOQGDJY
(At about 5:05, it disconnected because of clientTimeout)

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

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited February 2020
    Options
    Hi @Scoz,

    Take a look here.
  • Scoz
    Options
    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
  • JohnTube
    JohnTube ✭✭✭✭✭
    edited February 2020
    Options
    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.
  • Scoz
    Options
    I've found the problem. I am still trying to find a solution. Thanks to the PhotonStatsGui tool.
    Many thanks!