Search Unity

  1. Unity 2018.3 is now released.
    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. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Nominations have been announced for this years Unity Awards. Celebrate the wonderful projects made by your peers this year and get voting! Vote here!
    Dismiss Notice
  6. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    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,980
    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.