Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question How to get matched players information?

Discussion in 'Matchmaker' started by orcunsari, May 11, 2023.

  1. orcunsari


    Jul 21, 2016
    Hi, I'm using Matchmaker. When I'm calling CreateTicketAsync() I also set customData for players. I want to retrieve that customData but first I've to get information of matchmaked players. How can I do this?
  2. FlorianAtUnity


    Unity Technologies

    Jun 16, 2021
    The game server can get all the matchmaking results information when it spins up, it's done like this in the matchplay demo.
    The `MatchmakingResults` has a `MatchProperties` field that has all the players with their respective `CustomData`.

    The server can then share with the clients whatever information they need.