I'm trying to utilize the same server build for multiple game modes, the best practice is using session cookies (in my opinion), is there anyway to pass it from matchmaking queue
For your case, PlayFab Matchmaking has Cross game mode search, you can have a look. And to know which mode to activate on server, if you selected “Enable server allocation”, the server instance of the server build you configured will be allocated after matching is complete. The session id for this server will be the match id, so the server can use a title level entity token to call API Matchmaking - Get Match - REST API (PlayFab Multiplayer) | Microsoft Learn and set ReturnMemberAttributes to true to get the matched players’ attributes. The attributes should contain the game modes that player selected. The server can then decide which mode to activate based on this info.
2 People are following this question.