[BUG ?] OnSessionListUpdated not called

The whole answer can be found below.

Please note: The Photon forum is closed permanently. After many dedicated years of service we have made the decision to retire our forum and switch to read-only: we've saved the best to last! And we offer you support through these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on Fusion.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

[BUG ?] OnSessionListUpdated not called

10KEN
2022-01-20 19:41:39

Hello !

I did everything I could to see the "OnSessionListUpdated " function being called without success, either through the example scenes or mine.

Is it a bug ?

Thanks !

Comments

Tobias
2022-01-24 16:47:31

Please update to a recent nightly build and check if this is still happening.

ramonmelo
2022-01-24 16:55:11

Hi @10KEN ,

Please take a look at our Matchmaking Doc page here: https://doc.photonengine.com/en-us/fusion/current/manual/matchmaking#join_a_session_from_a_lobby

It describes how you can Join a Lobby in order to receive the Session List, but in summary, you should:

Register the INetworkRunnerCallbacks with your instance of the NetworkRunner

  • .

Join a Lobby by calling NetworkRunner.JoinSessionLobby

  • ;

Wait for the updates on the OnSessionListUpdated

  • callback;

Make sure you have another peer started as a Server/Host so a session is there to be listed.

--

Ramon Melo

Photon Fusion Tea,

Back to top