[Google Play Services] Real Time Multiplayer doesn't work! Do not create a room!
Hello!
I had a problem: I decided to write multiplayer for my game through Google services, I already wrote the authentication, it passes successfully, wrote the creation of the room through CreateQuickGame()
, inherited the current class from RealTimeMultiplayerListener
implemented OnRoomSetupProgress
, OnRoomConnected
functions. So, after successful authentication, the room is not created, but immediately tries to connect and calls OnRoomConnected (false)
ignoring OnRoomSetupProgress ()
. All services are configured, the version is embedded in the alpha, the services are published. Google services includes the Realtime Multiplayer feature. The rest of the services all work, already wrote the save to the cloud. Tell me what to do, I will be very grateful to you.
This is a test scene and there is nothing except this script and Google services on it.
Added the current time from the computer during the command call, so you understand that the function
CreateQuickGame()
does not even try to create a room.
## Unity3d 2017.4.0f1 ## play-games-plugin-for-unity 0.9.50The game along with the services are published in the alpha version.
@$$anonymous$$Games I have the same problem. Did you fix it?
Answer by An3Apps · Aug 31, 2019 at 08:33 PM
I know this is an old thread, but this might help somebody with the same problem. A possible solution is to disable anti-piracy. Anti-piracy will not allow Google Play Games to work properly if the game was not installed from the Play Store. This means that if you installed your game on your phone by building and running in Unity, then certain features of Google Play will not work. Real-Time Multiplayer might be one of them. Hope this helps!
Your answer
Follow this Question
Related Questions
Generating the same level for 2 players on RealTime multiplayer 0 Answers
The best overloaded method match for google play games 1 Answer
What is "good" Install/Uninstall rate for growing-good apps? 0 Answers
Google Play Realtime MP - Punish player who leaves room. 0 Answers
Signing android APK production? 1 Answer