Google Play Games Realtime Multiplayer

Hello everyone,

I am developing a new game. It uses the google play games realtime multiplayer feature. I’m making it in unity and i’m using the official plugin.

I implemented the quickmatch option with no problem. It works perfect.
My problem comes with the invitation mode. When I click the button the invitation UI appears, I can select the friends I want to play with and when I press play I get the invitation on the other device no problem. When I accept nothing happens. I am not sure what delegate will be called when the user accepts. How do I know on the other device that my friend accepted my invitation?

Also when I invite from one device the other one gets the notification if not ingame and the popup message I made if ingame. But it doesn’t work the other way around. I get the invite but no notification the ingame messagebox doesn’t popup. I can only accept the invitation from the Inbox.

I hope you guys understand my problem.

Okay, I figured it out :stuck_out_tongue:

The problem was that I was registering the Invitation received delegate to fast and accepting the invitation before the login was done. Stupid mistake. Works perfect now.

Luckily you got solution by yourself. congrats