At certain points during Custom Game Server auto-scaling using PlayFab's Client.Matchmake, new servers are spinning up, and those servers are the only open slots we can create matches in.
When we try to call Matchmake with StartNewIfNoneFound: true in a region which is starting up a new server, PlayFab gives us an error saying no servers are available.
Is there any way to pre-reserve a matchmaking ticket with the info of the server to wait around for? Or is the best option to auto-retry / tell the player to wait a bit before trying again?
Answer by Brendan · Apr 18, 2018 at 06:09 AM
No, matchmaking requires either an available slot in a running game server instance, or a free instance slot where a game can be started. That's specifically why we have the min free slots setting - so that you can set that high enough to ensure that there will always be servers available for players looking for new sessions. When you first activate a new region, you do need to wait for at least one server to get to the Running state, before you'll be able to successfully matchmake.
Direct Challenges,Direct Challenges (via FB) 2 Answers
Confused about server setup - C# Custom Server, Unity Client 1 Answer
Matchmaking with server 2.0 1 Answer
What happens when a client calls ClientAPI.Matchmake then does not connect to a returned server? 2 Answers
How to get a BuildID from a SessionId? 2 Answers