Unity Tutorial - Adding Official Google Play Game Services to your game FOR FREE

Shane O'Brien · 125K views · 2014 · 21:40

Open on YouTube

Game programming & enginesIndie game developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or asking about getting the Google Play Games plugin working in Unity, especially authentication and leaderboard problems.

Recommended by 2 people across 2 different months, 2015 to 2017.

What it is

A 2014 screencast by Shane O'Brien showing how to add Google Play Game Services (sign-in, leaderboards and related features) to a Unity Android game using Google's official open-source plugin. It walks through setup and builds a simple menu, with code available on the author's site.

What people said

Recommends Cabrra · 2016-06 · Stack Overflow · on “Unity Google Play Services: Authentication Failed always:”

ok then, my last recommendation is to download all available updates the GPGS doing the following: Windows>Google Play Games> Downloads > Google Play Games SDK (Android). It will open a new dialog. You should install the required elements : Google Play Services, Android Support Library, Local Maven repository for Support Libraries (Also known as Android Support Repository), Google Repository, Android 6.0 (API 23) (this does not affect the min SDK version). Also watch this video: [this video]

Recommends Herb · 2017-08 · Stack Overflow · on “C# code for getting Google user profile information from google API”

You might find this video usefull I go a lot to youtube to find tutorials and how to [this video] also check this asset out, it might help you [LINK]

Cites Anil · 2015-07 · Stack Overflow · on “Google Play Services Unity Plugin not Show Leaderboard”

I am building a game for Android with Unity 5, and I have imported this plugin [LINK] But it's not working properly I followed this tutorial [this video] : When I try to post or show leaderboard , it does not show anything .It does not even throw any error. Sign-in and out are working properly.Please help Code : public void LogIn () { Social.localUser.Authenticate ((bool success) => { if (success) { Debug.Log ("Login Sucess"); } else { Debug.Log ("Login failed"); } }); } public void LogOut () { PlayGamesPlatform.Instance.SignOut (); } public void Post () { if (Social.localUser.authenticated) { Social.ReportScore (5000, LeaderbordId, (bool success) => { if (success) { ((PlayGamesPlatform)Social.Ac