Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Server, Clients Scenes

Discussion in 'Multiplayer' started by mnrabaglia1234, Jul 29, 2009.

  1. mnrabaglia1234

    mnrabaglia1234

    Joined:
    Jul 27, 2009
    Posts:
    15
    We are having some problemas with NetworkViews and non syncronized objects in one scene.
    We have a server that host a Scene 1 and serveral clients with many differents scenes (including Scene 1)

    As we know we need the same scene file in the server project and the client project.

    What kind of changes i can make in the scene in one side (client for example, add new lights,etc ) that doesn't need to be reflected into the server project scene?
    Regards
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Anything thats syncronized through net must be present on both sides.
    Generally you could just use the same scene and have a level loaded handling logic that disables what you don't need on the server for example.


    One thing that will not work is having the server in scene 1 and the clients in another scene and work with that server.



    Question is what you are attempting to do.
    If it is an MMO server or alike, then I would recommend to drop using Unity as server directly, because 100 to at best 140 players on the server will never work out as an MMO server solution.