Google Play Games Services Tutorial (Unity) #1 - ACHIEVEMENTS and LEADERBOARDS

Reso Coder · 104K views · 2017 · 20:59

Open on YouTube

Game programming & enginesIndie game developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or following along with Unity questions about Google Play Games achievements, leaderboards and sign-in setup.

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

What it is

A 21-minute Unity tutorial from Reso Coder on integrating Google Play Games Services into a game. It covers setting up the Play Games plugin and working with classic and incremental achievements plus leaderboards.

What people said

Recommends ReyAnthonyRenacia · 2017-09 · Stack Overflow · on “Long loading/update of achievements (Google Play Games for Unity)”

Found a tutorial that might be of help here [this video] . What he did was placed the: PlayGamesPlatform.Instance.IncrementAchievement(id, stepsToIncrement, success => { }); inside a function public static void IncrementAchievement(string id, int stepsToIncrement) { PlayGamesPlatform.Instance.IncrementAchievement(id, stepsToIncrement, success => { }); } which would trigger every time he pressed a button. The update was instantaneous. Hope that helps.

Recommends Ehsan Mohammadi · 2018-08 · Stack Overflow · on “GooglePlayGame services not working properly in Unity”

Do you update Android Setup after add achievement? Or do you republish changes in Google play services dashboard? Also, change PlayGamesPlatform.Instance.ShowAchievementsUI (); to Social.ShowAchievementsUI (); and change PlayGamesPlatform.Instance.ShowLeaderboardUI (leaderBoardId); to Social.ShowLeaderboardUI(); For more information, see these links: Google Play Games Services Tutorial (Unity) #1 - ACHIEVEMENTS and LEADERBOARDS [this video] Achievements & Leaderboard - Google Play Services - Subway Skater - 23 [LINK] I hope it helps you :)

Cites Julian Z. · 2017-10 · Stack Overflow · on “Android game crash while Authenticate() in Unity”

I am trying to add GooglePlayGames Services to my android game I am currently developing in Unity 5.3.1f1. After following this tutorial [this video] on youtube and downloading the latest PlayGames-PlugIn [LINK] , my game always crashes while Social.localUser.Authenticate(success => { }); . Any idea what could cause this? full code of my DRPlayGames.cs : using GooglePlayGames; using GooglePlayGames.BasicApi; using UnityEngine; using UnityEngine.SocialPlatforms; public class DRPlayGames { public static void SignIn() { PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().Build(); PlayGamesPlatform.InitializeInstance(config); PlayGamesPlatform.Activate(); Social.localUser