Hello,
I'm using server backfill tickets with multipler servers 2.0 and the new matchmaking with automatic server allocation. I know how I can validate connecting users for the initial users. But if I use server backfill tickets I run into an issue.
I call CreateServerBackfillTcket and then continuously poll the server backfill ticket until the ticket is going to the Matched state. Then I call GetMatch. But I think it can happen that new clients in the newly created match connect before my dedicated server receives the match result from GetMatch. So in this case I don't know how to validate new users. Keeping newly connected users in a seperate queue on the dedicated server until it received the reply to the GetMatch call isn't so easy in this case as the Engine (UE4) has a certain flow that doesn't allow this (or makes it hard to implement).
But with backfill tickets it is especially important to validate connecting users. For instance I want to wait a certain time for initial users to connect. Then I call GetMatch and filter the users that didn't connect so far. If necessary I call CreateServerBackfillTicket. Let's say I filter user Fred because it took to long for him to connect and then I look for more users. But then suddenly Fred finally does connect. I don't want to not let Fred in anymore because I might already have another player connecting from the server backfill ticket. I could certainly remember Fred to have timed out and not let him in anymore. But to make this even more confusing Fred might be picked by the server backfill ticket later because he queued again.
Do you see any way to validate users when using server backfill tickets that doesn't suffer from the race condition of the user connecting before the server gets the result of GetMatch? I could imagine to sneak in some kind of secret generated on the dedicated server into the matchmaking attributes, let the newly found client inspect those and forward this to the server. But I would hope there is a more straight forwards solution.
Thanks
Markus