Loading Screen for connection...

Options
Hello, I use Photon and I am having trouble with a loading screen. I have a start scene that contains where you login(via PlayFab) then press play... from here it loads a menu scene and connects to photon using
PhotonNetwork.ConnectUsingSettings
When menu scene starts a instant loading page overlay appears and a fill image slides... the page turns off when the player is connected but the loading bar just fills over time it doesn't accurately display the loading progress to the player. Does anyone know how I could go about getting progress to being connected to photon??? Any help appreciated. Thanks!

Comments

  • Tobias
    Options
    There are just a few callbacks that are involved when going online. Within a second you should be connected, usually. Loading assets for a bigger game takes longer...

    Have a look at the IConnectionCallbacks and OnConnected, OnRegionListReceived and OnConnectedToMaster are of interest as steps.