Google Play services - Invitation problem?

Hi.

I use google play game services for unity to make a 2d multiplayer game.

In my game there are two buttons. “Quick Race” and “Invite”.

For “Quick Race” button I use this code:

 PlayGamesPlatform.Instance.RealTime.CreateQuickGame(MinOpponents, MaxOpponents,
                GameVariant, listener);

For “Invite” button I use this code:

 PlayGamesPlatform.Instance.RealTime.CreateWithInvitationScreen(MinOpponentsInvite, MaxOpponentsInvite, GameVariant, listener);

Now to the problem::

  1. I change the “Quick Race” variables to this: MinOpponents = 1, MaxOpponents = 3, GameVariant = 0

  2. I change the “Invite” variables to this: MinOpponentsInvite = 1, MaxOpponentsInvite= 3, GameVariant = 0

  3. I start the game on my first android device.

  4. I click the “Invite” button

  5. I select 2 times “Auto pick player”
    (example image from google play game services)

  6. I click play.

  7. I start the game on my second android device.

  8. I click the “Quick Race” button

Now what happens:

On my first android device (Waiting room). I see me and two auto pick players.

On my second android device (Waiting room). I see me and two auto pick players.

The two players are waiting. Nothing happens. Not connecting together to play the main game.

When I now start the game on my third android device :slight_smile: and then click the “Quick Race” button.
All three players connected and the game starts.

Why is that so?

Why the game not starts with the first two players?

How can I make it, that the game starts with this two players? The third player is coming later when he is connected.

The official google play game services text:
https://developers.google.com/games/services/common/concepts/realtimeMultiplayer

Thanks in advance.

You just need to set MaxOpponentsInvite= 1
this is only for 2 players…