Search Unity

Networking Multiple Scenes.

Discussion in 'Connected Games' started by altair2020, Jan 10, 2013.

  1. altair2020

    altair2020

    Joined:
    Mar 6, 2011
    Posts:
    35
    Hi Everyone,

    I have been trying to link up multiple scenes on a networking game...

    some folks say that unity is not designed for this and using 3rd party libraries is the way forward...

    others say that there are work around's and it is possible...

    Can anyone shed some light on this and perhaps recommend an approach within Unity3D or perhaps recommend tried and tested 3rd party library's that are fit for the task...

    Thanks,

    John
     
  2. fujindevil

    fujindevil

    Joined:
    Oct 3, 2012
    Posts:
    67
    what do you mean by "link up multiple scenes" and what exactly do you want to know
     
  3. appels

    appels

    Joined:
    Jun 25, 2010
    Posts:
    2,685
    In order to have multiple scenes with users in them and interacting with the same server, you will need some sepparation layer in between.
    For example, SmartFox/Photon/... use a Zone/Room/... architecture so you can split up the users in groups (per Unity scene for example).
    This isn't something you can quickly add to Unity's native networking. And if you can achieve it in some way, it will be verry limiting.
    Lidgren.Network is a library where you can also implement it and is free.
     
  4. Ashkan_gc

    Ashkan_gc

    Joined:
    Aug 12, 2009
    Posts:
    916
    If you want to move objects from server to server when changing scenes then it's hard in built-in networking and you can use UnityPark suite (see object hand overs and peer to peer) in their manual
    If you just want to be able to Load a new scene in client and/or server then see the multiplayer networking part of manual for an example.
    If you describe more you'll get better answers.