Search Unity

Question Multiple Scene and 1 Server?

Discussion in 'Netcode for GameObjects' started by Eric-Te, Jan 27, 2023.

  1. Eric-Te

    Eric-Te

    Joined:
    Mar 8, 2020
    Posts:
    1
    Hello,

    Unity NGO can support Multiple Scene for 1 server ?

    Example :

    -1 server (127.0.0.1:7777)
    ├─ Scene 1 ( 3 clients)
    ├─ Scene 2 ( 2 clients)
    └─ Scene 3 (4 clients)

    The client on Scene 1 can go other Scene and vice versa
    Because actually when i StartClient(), the client can go only on scene 0 and i don't want LoadScene mode Additive but mode Single.
    I don't believe Unity NGO supports this operation but I still ask the question...
     
    Last edited: Jan 27, 2023
  2. cerestorm

    cerestorm

    Joined:
    Apr 16, 2020
    Posts:
    666
    You can do this with your own custom scene management just keep in mind it can be a fair amount of work handling it yourself.
     
    Eric-Te likes this.
  3. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,005
    Fish Net supports this.
    Just in case: if these scenes aren‘t gameplay scenes (eg world + dungeons) then you‘ll be better off to manage this with additive scenes. For example if one scene is character selection Ui this really should simply be a UI overlay.
     
    Eric-Te likes this.