Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Unity Multiplayer Synchronized terrain positions theory

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

  1. Resilo

    Resilo

    Joined:
    Dec 8, 2016
    Posts:
    134
    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

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    3,558
    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.