l got lag sometimes

Options
l am using OnPhotonSerializeView and send rate is 10 But the delay between packages varies from 0.1s to 1s

Comments

  • Tobias
    Options
    Sounds like your clients might suffer from network loss.
    You should first check the roundtrip time which PUN provides (GetPing()) and then check how PhotonNetwork.ResentReliableCommands behaves. Does it go up quite fast? Then your connection might be bad.
    Chose a region close to your location.
  • Tobias said:

    Sounds like your clients might suffer from network loss.
    You should first check the roundtrip time which PUN provides (GetPing()) and then check how PhotonNetwork.ResentReliableCommands behaves. Does it go up quite fast? Then your connection might be bad.
    Chose a region close to your location.

    l set my server in servers provider (Aliyun)in our country(China).l got 20 ping on average.
    Do l suffer network loss? Is the net of my server not enough? The network bandwidth of my server is 3M。