Search Unity

Perfect replication between clients

Discussion in 'Multiplayer' started by UDN_3cc29748-d7dd-438f-9307-c7f8990ea456, Dec 23, 2018.

  1. UDN_3cc29748-d7dd-438f-9307-c7f8990ea456

    UDN_3cc29748-d7dd-438f-9307-c7f8990ea456

    Joined:
    Jun 11, 2018
    Posts:
    1
    Hello

    I making a game and i need perfect replication between client and server, the lag doesn't matter.

    It's peer to peer 1v1 game. Right now I am using one client as server which does all the game logic. And the other one just sends input and replicates the movement and animation from the "server". And to make it fair I delay the input of the server by 2x ping.

    But i feel like this is not the most elegant way to do this. And I tried to google but nothing comes out. I Also don't now what to google for this. I mostly type stuff similar to my title.

    I want to apolegize If there are already threads existing and I couldn't find it bcuz my searching skill.
     
  2. SocialArenaPR

    SocialArenaPR

    Joined:
    Sep 26, 2016
    Posts:
    77
    There is no such thing as "Perfect" replication.
     
    Joe-Censored likes this.