Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Unity Multiplayer Synchronized terrain positions theory

Discussion in 'Connected Games' started by Resilo, Oct 11, 2018.

  1. Resilo


    Dec 8, 2016
    So I have a client server set up for my game. The issue im having is that the movement and player position are synchronized correctly between clients and server.

    However the position of buildings etc are not

    How would you configure for example a wall so that its position synchronizes from the server to the client correctly?

    iv'e included a diagram to further explain the situation encase anyone is confused

    Attached Files:

  2. Joe-Censored


    Mar 26, 2013
    Well, how are you currently placing your buildings? You should either place them on the server and sync those placements to the clients (such as instantiate/spawn on server so they spawn on the clients in the same place), or if you place them randomly you could send the random seed the server used to the clients so they will be placed as the server placed them.