Im testing Playfab Matchmaking and found there might be some silent errors happening.
My setup contains no Cloud Script.
I just wrote a script that register players and create tickets for them, expecting a match to be found.
But what ive found is not only the match is never found but i dont see those tickets being created in the queue metrics. I do get succesfull ticket creation responses tho, hence silent error.
This is my code to create the tickets:
public async Task<GetMatchmakingTicketResult> GetTicket(string ticket){ var result = await PlayFabMultiplayerAPI.GetMatchmakingTicketAsync(new() { QueueName = "Ranked", TicketId = ticket, }); _errorHandler.CheckErrors(result); return result.Result;}public async Task<string> ObtainTicket(string entityId){ var result = await PlayFabMultiplayerAPI.CreateMatchmakingTicketAsync(new CreateMatchmakingTicketRequest(){ GiveUpAfterSeconds = 3599, QueueName = "Ranked", Creator = new MatchmakingPlayer(){ Attributes = new MatchmakingPlayerAttributes(){ DataObject = new{ Trophies = 1000} }, Entity = new EntityKey(){ Id = entityId, Type = "title_player_account"},},}); _errorHandler.CheckErrors(result); return result.Result.TicketId;}
After creating the ticket i do get a OK response with the ticket data:
{"CancellationReasonString":null,"ChangeNumber":20,"Created":"2022-10-05T10:44:46Z","Creator":{"Id":"E18A354A6B3A139F","Type":"title_player_account"},"GiveUpAfterSeconds":3599,"MatchId":null,"Members":[{"Attributes":{"DataObject":{"Trophies":1000},"EscapedDataObject":null},"Entity":{"Id":"E18A354A6B3A139F","Type":"title_player_account"}}],"MembersToMatchWith":null,"QueueName":"Ranked","Status":"WaitingForMatch","TicketId":"f0f9d4db-7f2d-4819-b205-e4bed58b0d7d"}
But when going to playfab dashboard, going to Matchmaking , selecting my Queue i see zero metrics of tickets being created.
Also the matches never found, likely to the above.