Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Unity Multiplayer MLAPI high ping

Discussion in 'Multiplayer' started by sssemil, Oct 26, 2021.

  1. sssemil

    sssemil

    Joined:
    Sep 20, 2020
    Posts:
    2
    Hi!

    I'm doing benchmarks for UNet MLAPI, and I was getting a high round trip time over localhost (~110ms with a single client, and ~300ms with 8 clients). The way I measure the RTT is by sending the current time from the client to the server with an RPC, and then sending it back to the client, which takes the difference between the current time and the time received from the server as RTT. Then the client sends the next timestamp. I take the average of 1000 exchanges. Is there something wrong with my approach? Or is this normal? Thanks!

    Best,
    Emil