Search Unity

Transfer Level/Scene over Network - good idea?

Discussion in 'Multiplayer' started by Torigas, Aug 18, 2014.

  1. Torigas

    Torigas

    Joined:
    Jan 1, 2014
    Posts:
    63
    Hi all,

    After some google and forum search I couldn't find a proper answer for this:
    We've got this idea of creating a few fixed client pcs and an authoritative server. However, since we often change scenes and don't necessarily want to copy compiled project to all our clients every time, we though it might be possible to transfer the scene from the server to the connecting client.

    However, I can't think of a proper, pretty way to do that. I would appreciate any hints!

    Also: Am I on the wrong path? Is there a "better" way of getting the current data to all client pcs? I'd appreciate alternatives, too.

    Thanks in advance!
     
  2. appels

    appels

    Joined:
    Jun 25, 2010
    Posts:
    2,687
    There are multiple ways to achieve this. You could serialize all the data and send over the wire. Or you could save to an XML file, store it on a webserver and have the clients load that xml.
     
    Torigas likes this.