[BUG ?] OnSessionListUpdated not called
The whole answer can be found below.
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).
[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
Please update to a recent nightly build and check if this is still happening.
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