Search Unity

Question MLAPI сhecking the position of players by the server

Discussion in 'Multiplayer' started by Balphagore, Oct 23, 2021.

  1. Balphagore

    Balphagore

    Joined:
    Jul 18, 2019
    Posts:
    82
    Created a small prototype where players can connect to the server and move around the level. And in the process, the question arose - how can the server check the data on the movement of characters for reliability?

    The movement calculations are done in the players' clients and then simply synchronized across the server using NetworkObject and NetworkTransform. It turns out that the user can somehow modify his client and send the information he wants? For example, in his client, he will increase the speed of movement by 10 times. Does the server just sync it all up with the rest of the clients and do nothing? How can verification be implemented?