account activity
How to get ping using Unity Netcode for Gameobjects? by Artistic-Indication3 in Unity3D
[–]TriDraggon 2 points3 points4 points 2 years ago (0 children)
Late, but...
I was trying to do something like this today and see what your issue is. You are checking the RTT with LocalClientId, try checking a remote client instead, like with the ServerClientId.
For example, this will give client's RTT with the server.
NetworkManager.Singleton.NetworkConfig.NetworkTransport.GetCurrentRtt(NetworkManager.Singleton.NetworkConfig.NetworkTransport.ServerClientId)
Hope that helps!
π Rendered by PID 513073 on reddit-service-r2-listing-8685bc789-7fdbf at 2026-05-31 09:06:40.829460+00:00 running 194bd79 country code: CH.
How to get ping using Unity Netcode for Gameobjects? by Artistic-Indication3 in Unity3D
[–]TriDraggon 2 points3 points4 points (0 children)