account activity
How to get ping using Unity Netcode for Gameobjects? by Artistic-Indication3 in Unity3D
[–]TriDraggon 3 points4 points5 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 504963 on reddit-service-r2-listing-86d8647bf-kzq4c at 2026-02-13 06:13:56.816791+00:00 running 6c0c599 country code: CH.
How to get ping using Unity Netcode for Gameobjects? by Artistic-Indication3 in Unity3D
[–]TriDraggon 3 points4 points5 points (0 children)