The GetMatchResult object has a "CutsomData" Member of type object. But I can't find any information on where and how to set this CustomData.
The GetMatchResult object has a "CutsomData" Member of type object. But I can't find any information on where and how to set this CustomData.
The best place to refer API usage should be our documentation website, while according to: https://docs.microsoft.com/en-us/rest/api/playfab/multiplayer/matchmaking/getmatch?view=playfab-rest#getmatchresult, there is no CustomData defined in the GetMatchResult. I have also checked the Unity SDK to double confirm it and find that this property belongs to SharedModels instead of MultiplayerModels, which means CustomData is a separate feature apart from the GetMatch API.
To send "custom data" for the matchmaking, you may use the Attribute property when creating the match making ticket, which can be received by server instance and shared among players in the same match.
4 People are following this question.