Loading a scene with Unity's Addressable System

The traditional PhotonNetwork.LoadLevel() method doesn't work in loading scenes using addressables, since it can only load scenes that are in the build settings (with SceneManager.LoadSceneAsync()). I was wondering if anybody knows how to Photon load a scene referenced in the addressable groups


  • You have two options:

    Have a look at the PUN code that loads the scene and update it to work with addressables. It should be possible to replace the Unity API that's used with the addressable equivalent.

    Manually implement the loading, analog to what PUN does internally. Set a property, that contains the (addressable) scene name. When this changes, pause the message queue (IsMessageQueueRunning), load and re-enable the message queue when loading is done.

    Sorry, I can't provide actual code for this.