No SceneObjectProvider

When i call runner.StartGame(GameMode gameMode, SessionInfo session), It cause the error"No SceneObjectProvider passed and the default provider component type (Fusion.NetworkSceneManagerDefault, Assembly-CSharp, Version=, Culture=neutral, PublicKeyToken=null) was not found. Fusion will not be able to attach to scene NetworkObjects."

do I must set the SceneObjectProvider when I startgame? but upon function can`t pass the SceneObjectProvider to runner


  • ramonmelo
    ramonmelo mod
    edited December 2021

    Hi @zybillyjay ,

    Sorry for that, we've already updated our documentation page, for now on you should start Fusion from a Session like shown below:

          runner.StartGame(new StartGameArgs() {
            GameMode = GameMode.Client, // select game mode
            SessionName = session.Name, // get the Session name from the SessionInfo reference
            SceneObjectProvider = GetSceneProvider(runner), // setup the SceneObjectProvider

    This way you have the same effect but can also setup the SceneObjectProvider parameter.


    Ramon Melo

    Photon Fusion Team