Search Unity

How to prevent player from automatically loading the "online" scene upon connection?

Discussion in 'Multiplayer' started by Disastorm, Jul 20, 2015.

  1. Disastorm

    Disastorm

    Joined:
    Jun 16, 2013
    Posts:
    132
    I was wondering if anyone knew how to add a scene like Character creation/selection before the "online" scene.

    It looks like no matter what, as soon as the client is connected it loads the online scene immediately.
    At first I thought you could override OnClientConnect to not call ClientScene.Ready and ClientScene.AddPlayer but unfortunately, this is not the case. You can override it and have it do whatever you want, but it doesn't prevent the "online" scene from loading. If you put a "LoadLevel" in there, it ends up loading the "online" scene first and then does the LoadLevel. Does anyone have any ideas as to how to do this ?
     
    Last edited: Jul 20, 2015