I am using Unity to develop my multiplayer game, and I am using the Multiplayer server and Multiplayer Matchmaking you provided.
when integrating Server SDK to my Unity project.
I Notice the following event OnSessionConfigUpdateEvent.
Should I poll the Session ID from the OnSessionConfigUpdateEvent when clients called GetMatch and Server is allocated? is this the best place to get session ID from? is the Session ID same as the MatchID?
Code Snippets:
PlayFabMultiplayerAgentAPI.OnSessionConfigUpdateEvent += OnSessionConfigUpdate;
private void OnSessionConfigUpdate(SessionConfig sessionConfig) { Debug.Log("On Session Config Update called"); Debug.Log("Session id is " + sessionConfig.SessionId); }