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! Your search result can be found below. Plus, we offer support via these channels:

Try Our
Documentation

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

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.

Getting roundtrip in Fusion

monoflauta
2022-04-18 14:14:40

Hello!

I am trying to get the roundtrip to server in Fusion. We are trying to use the Shared structure but it seems I can only get the Roundtrip to other players. Is there a way to get the roundtrip to the server?

Thank you!

Comments

ramonmelo
2022-06-15 13:39:24

Hi @monoflauta ,

Easy:

On a client, if you call "NetworkRunner.GetPlayerRtt(PlayerRef.None)", you will get the RTT with the remote Server.

On a server, if you call "NetworkRunner.GetPlayerRtt()", you will get the RTT with that particular remote client.

There is no way for a Client to get the RTT with another Client, as there is no connection between clients.

--

Ramon Melo

Photon Fusion Team

Back to top