SceneObjectProvider

ESENTES
ESENTES
edited July 14 in Fusion

Hi. From today I started learning Photon Fusion for Unity3d. I am learning from the tutorial on the internet. I have a problem. The tutorial I'm using contains the following code snippet:

return runner.StartGame(new StartGameArgs

    {

      GameMode = gameMode,

      Address = address,

      Scene = scene,

      SessionName = "TestRoom",

      Initialized = initialized,

      SceneObjectProvider = sceneObjectProvider

    });

This snippet works for the tutorial, but when I wrote it the same way, I get the following error:

 'StartGameArgs' does not contain a definition for 'SceneObjectProvider'

Can someone explain to me what is this about?

Answers

  • Tobias
    Tobias admin
    edited July 14

    I'll move this to the Fusion category.