Google Play Game Services Unity Plugin for Android now Available!

The plugin names get longer, kinda like the summer days here in England. Unlike a typical English summer day however, this plugin supports the following:

  • Achievements
  • Leaderboards
  • Cloud storage (ok english summer days do have clouds)
  • Realtime Multiplayer

The plugin also works in both Unity 3.5 and 4.

Get the Google Play Game Services Unity Plugin for Android here.

19 thoughts on “Google Play Game Services Unity Plugin for Android now Available!

  1. Hi! The plugin it’s perfect!!
    I have one question: can I use GPGSUnityPlugin.ShowLeaderboards() to show one leaderboard using leaderboard id?


    • Glad you like the plugin! I don’t currently have that method implemented but I’m adding it for the next version, should be out tomorrow, I will send you it when it’s done.

  2. – create new project
    – import package
    – error :
    Exception: JNI: Init’d AndroidJavaClass with null ptr!
    UnityEngine.AndroidJavaClass..ctor (IntPtr jclass) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Export/AndroidJavaImpl.cs:533)
    UnityEngine.AndroidJavaObject.get_JavaLangClass () (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Export/AndroidJavaImpl.cs:511)
    UnityEngine.AndroidJavaObject.FindClass (System.String name) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Export/AndroidJavaImpl.cs:502)
    UnityEngine.AndroidJavaClass._AndroidJavaClass (System.String className) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Export/AndroidJavaImpl.cs:522)
    UnityEngine.AndroidJavaClass..ctor (System.String className) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/ExportGenerated/Editor/AndroidJava.cs:91)
    GPGSUnityPlugin.EnableDebugLog (Boolean enabledebug) (at Assets/Plugins/Demo_GPGS/GPGSUnityPlugin.cs:11)
    SimpleDemo.Awake () (at Assets/Plugins/Demo_GPGS/SimpleDemo.cs:16)

    plz help

    • An explanation of this problem is here with the needed fix. Sorry for this, I should have the plugin updated soon (but the linked file should sort you out).

  3. Hello , I buy the google service plugin for android , and for this moment work fine , but i need know in my application if the player is login or not. as I can tell? thx.

  4. Good Afternoon,

    I just downloaded the Google Play Game Service plugin and it’s working properly, so when we get logged for the first time a little Welcome tile is showed, but when we’re silently logged in it’s not shown.

    Is there anyway for showing the welcome tile every time the user gets logged?


    • StartConnections() (the silent login) should give you a callback to OnSignInSucceeded (on the script attached to the ‘UnityGameObjectReceiver’ gameobject)so you can use that to show a ‘Welcome Back’ message if you like (otherwise it is literally silent about the fact that you have logged in).

  5. Hi, i have purchased your plugin. In my multiplayer game i want to know that other player is in which room. As both player show “room created” and both have diff Room id, so it is getting difficult for me to know the opponent.
    plz let me know,

    Thanks in adv.

    • Not sure I understand the problem. However note that there is a bug when using the default AndroidManifest file with some of the multiplayer functions. Switching to the AndroidManifestAct file (rename AndroidManifestAct.xml to AndroidManifest.xml) seems to solve the problem. You may be running into this issue.

  6. Hello, please I need help with multiplayer. I have a player who makes the script with the movement and several other scripts and animator connected to each other. can you give me advise how to connect this player to your script in multiplayer? I tried it but I really fail. thank you very much

    • Hi, the MultiplayerGame demo included with the plugin covers the very basics (ie Creating a Quick game, sending messages between players etc). The actual multiplayer implementation I’m afraid is up to you, Google Play Game Services just facilitates the sending of messages between players, the content of these messages and how they are used to maintain/share state between players is a very big topic and is very specific to the game you are trying to create.
      See this post for the basics.

Leave a Reply

Your email address will not be published. Required fields are marked *