Unet: How can I know the percentage of packets lost?

I am aware of the fact that the class NetworkTransport implements GetNetworkLostPacketNum in order to know the total number of packet lost.

However, in order to collect useful information, I need to know the percentage of packets lost compared to the total number of packets sent.

Is there a way to know this information with Unity 5.2?

Also I noticed that NetworkClient has a function called GetConnectionStats which could be really useful for us. However, while it works in the Editor, It doesn’t return any information when it runs in the window standalone client. Can you tell me why?

@sebas77

I am aware of the fact that the class NetworkTransport implements GetNetworkLostPacketNum in order to know the total number of packet lost.

Yes You are right :frowning: My fault, I didn’t expose this function for user, will add it…

Also I noticed that NetworkClient has a function called GetConnectionStats which could be really useful for us
Will ask colleagues why not. Pretty sure that this function was implemented to be used in profiler only…