I am trying to call GetMatch() in the server, i managed to call GetEntityToken() sucessfully already so that i can make that call.
PlayFabMultiplayerPtr multiplayerAPI = IPlayFabModuleInterface::Get().GetMultiplayerAPI(); PlayFab::MultiplayerModels::FGetMatchRequest request; request.EscapeObject = false; request.MatchId = FString::FromInt(matchID); request.QueueName = "QuickPlay5"; request.ReturnMemberAttributes = true; UE_LOG(LogTemp, Warning, TEXT("getting match")); multiplayerAPI->GetMatch(request, PlayFab::UPlayFabMultiplayerAPI::FGetMatchDelegate::CreateUObject(this, &AArenaGameMode::OnGetMatchSuccess), PlayFab::FPlayFabErrorDelegate::CreateUObject(this, &AArenaGameMode::OnGetMatchFailed));
Trying to call this in c++ triggers the "failed" callback and gives the following message "invalid input parameters".
This message suggests that i am doing something wrong when filling the request struct but i honestly dont know what.
Any ideas?