Get packets loss

The whole answer can be found below.

Please note: The Photon forum is closed permanently. After many dedicated years of service we have made the decision to retire our forum and switch to read-only: we've saved the best to last! And we offer you support through these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on PUN.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Get packets loss

eax_m3
2019-08-14 08:05:24

Hi. How to get packet loss?

Comments

JohnTube
2019-08-15 13:24:00

Hi @eax_m3,

Thank you for choosing Photon!

My colleague @Tobias helped me answer this:

you can't. you can only get the PhotonPeer.ResentReliableCommands (PhotonNetwork.NetworkingClient.LoadBalancingPeer.ResentReliableCommands). it's a simple counter per connection (server). it may make sense to get this and evaluate the delta per second or such.

it's a count of resent stuff. technically, this is not 1:1 the loss count.
we may repeat before an ack arrives late.

eax_m3
2019-08-16 07:26:09

Ok. Thanks!

Back to top