Achievements can be a great way to increase your users' engagement within your game. You can implement achievements in your game to encourage players to experiment with features they might not normally use or to approach your game with entirely different play styles. Achievements can also be a fun way for players to compare their progress with each other and engage in a light-hearted competition.


To understand how achievements work, you'll want to be familiar with some of the attributes associated with them.

The basics

These basic elements are associated with every achievement:

  • Id is a unique string that is generated by the Google Play Developer Console. You'll use this unique ID to refer to the achievement in your game clients.
  • Name is a short name of the achievement (for example, "Master Pieman"). The value can be up to 100 characters.
  • Description is a concise description about your achievement. Usually, this tells your player how to earn the achievement (for example, "Bake a lemon meringue pie before sundown"). The value can be up to 500 characters.
  • Icon is a square icon that is associated with your achievement. For best practices while creating your achievement icons, see the Icon Guidelines section.
  • List order is the order in which the achievement appears when a player views the achievements associated with your game. This can be in any order that you like.


Achievements can be in one of three different states:

  • hidden achievement means that the details about the achievement are hidden from the player. The Games services provide a generic placeholder description and icon for the achievement while it's in a hidden state. We recommend making an achievement hidden if it contains a spoiler you don't want to reveal about your game too early (for example, "Discover that you were a ghost all along!").
  • revealed achievement means that the player knows about the achievement, but hasn't earned it yet. Most achievements start in the revealed state.
  • An unlocked achievement means that the player has successfully earned the achievement. An achievement can be unlocked offline. When the game comes online, it syncs with the Games services to update the achievement's unlocked state.

Incremental achievements

Achievements can be designated as standard or incremental. Generally, an incremental achievement involves a player making gradual progress towards earning the achievement over a longer period of time. As the player makes progress towards the incremental achievement, you can report the player's partial progress to the Games services. The Google Play service keeps track of the progress information, alerts the game when the player has met the criteria necessary to unlock that achievement, and tells the players how far along they are towards meeting that goal.

Incremental achievements are cumulative across game sessions, and progress cannot be removed or reset from the game. For example, "Win 50 games" would qualify as an incremental achievement. "Win 3 games in a row" will not, as the player's progress will be reset when they lose a game. "Have 5,000 poker chips" will not qualify either, as a player can gain and lose chips as they play. For the later two achievements, it's up to you to track the player's "Wins in a row" state or chip total and to unlock standard achievements when the player earns them.

While creating an incremental achievement, you must define the total number of steps required to unlock it (this must be a number between 2 and 10,000). As the user makes progress towards unlocking the achievement, you should report the number of additional steps the user has made to the Games services. Once the total number of steps reaches the unlocked value, the achievement is unlocked (even if it was hidden). There's no need for you to store the user's cumulative progress.


Achievements have a point value associated with them. The player's score must be a multiple of 5 and a game can never have a total of more than 1000 points for all of its achievements (although it can have less). In addition, no single achievement can have more than 200 points.

Earning experience points (XP)

Players can gain levels on their Game Profile when they earn achievements in Play Games enabled games. For every point associated with an achievement, the player gains 100 experience points (XP) when they earn that achievement. In other words:

XP for an achievement = 100 * (point value for the achievement)

Play Games service keeps track of the XP earned by each player and sends out a notification to the Google Play Games app when the player has earned enough points to 'level up'. Players can view their level and XP history from their Profile page in the Google Play Games app.

Minimum achievements

A game must have at least five achievements before it can be published. You can test with fewer than five achievements, but you need at least five achievements created before you publish your game.

Icon guidelines

Icons should be created as 512 x 512 PNG or JPG files. You only need to provide us with the icon for the unlocked achievement. We will generate a grayscale version for the revealed icon automatically. For that reason, we recommend your achievement icons to include colorful elements, so your users can easily distinguish between revealed and unlocked achievements.

When an achievement icon is displayed in an Android toast or in an iOS achievement controller, the icon is overlaid with a circle and its outer corners are hidden. Make sure that your icon still looks good under these circumstances.

The same icon is used in all locals, so we do not recommend including any text or localized content in an icon.

Creating an achievement

For a new game

To create an achievement for a new and unpublished game, go to the Google Play Developer Console entry for your game under the Games with Game Services tab.

Select the Achievements tab on the left, and click the Add Achievement button.

Then, simply fill out the information required for this achievement.

Click Save, and your achievement will be available in "Ready to publish" mode. Once you publish your game, all of your game's achievements will be published with it.

For a published game

To create an additional achievement for a game that has already been published, follow the same steps as above. The only difference is that the Save button will be relabeled as Save as draft and your achievement will be in a "Ready to test" mode. For more information on testing an updating a version of a game, see Publishing Your Game Changes.

Once you've tested your achievement and you are happy with it, you can republish your game with the new achievements, and they will be pushed out to the world.

Editing an achievement

To edit an achievement that you've already created, select the achievement in the Achievements tab of the Google Play Developer Console. At this point, you will see the same form you used when first creating the achievement, and you can edit any of the fields you wish.

When you have edited an achievement, click the Save as draft button. The newly edited achievement will be in a "ready to test" stage, and you'll be able to test it. If it is working correctly, select Republish from the drop-down list. This republishes your game, along with all your updated achievements, to the public.

Note: Once an achievement is published, its initial state (hidden or revealed) and its type (incremental or standard) is fixed and cannot be changed.

Undoing an edit

If you decide you don't like your current achievement and want to go back to your achievement the way it was before, select Revert from the drop-down list in the Google Play Developer Console, and all of your achievements will revert back to the previously published version.

Deleting an achievement

Once your achievement has been published, it cannot be deleted.

You can only delete an achievement in a pre-published state by clicking the button labeled Delete at the bottom of the form for that achievement.

Adding translations for achievements

You can specify your own translations for achievements that are associated with your game. Before you do so, first, make sure to complete the steps described in Adding translations for your game. You must also create one or more achievements for your game.

To add your own translations for achievements, open the Achievements tab for your game in the Google Play Developer Console, then select an existing achievement. On the achievement details page, select the tab for a language that you previously added in the Game details tab. In the achievement details page for that language, edit the form with your translations for that achievement. Click Save to the store your translated achievement details.


Once the player is signed in and the GooglePlayConnection.State == GPConnectionState.STATE_CONNECTED , your game can start using the achievements APIs.


Loading achievements

Plugin gives an ability to retrieve information of current game achievments and progress of signed player. In the following snippet, we will load achievements info using GooglePlayManager class. Results are represented as a GooglePlayResult object.

GooglePlayManager.ActionAchievementsLoeaded +=  OnAchivmentsLoaded; 
GooglePlayManager.Instance.loadAchievements ();

private void OnAchivmentsLoaded(GooglePlayResult result) {
	GooglePlayManager.ActionAchievementsLoeaded -=  OnAchivmentsLoaded; 
	if(result.IsSuccess) {
		foreach(string achievementId in GooglePlayManager.Instance.Achievements.Keys) {
			GPAchievement achievement = GooglePlayManager.Instance.GetAchievement(achievementId);

		Debug.Log("Total Achievements:" + GooglePlayManager.Instance.Achievements.Count.ToString());
    } else {
		AndroidNative.showMessage ("Achievements Loaded error: ", result.Message);

After achievements is loaded you may use the following GooglePlayManager methods to get info about achievements:

public GPAchievement GetAchievement(string achievementId)
public Dictionary<string, GPAchievement> Achievements {get;}


The Achievement is represented as  GPAchievement object.

Achievement types are represented by this enum, and states by this one.

Unlocking achievements

To unlock an achievement, call the reportAchievement method and pass in the achievement name (from the ids.xml) or achievement ID.


//reportAchievementById is deprecated in v5.1 please use unlockAchievementById instead.


If an achievement is of the hidden type, you can revive it by using the revealAchievement method



If the achievement is of the incremental type (that is, several steps are required to unlock it), call IncrementAchievement instead.

GooglePlayManager.Instance.IncrementAchievementById (INCREMENTAL_ACHIEVEMENT_ID, 1);


Each interaction with an achievement will trigger ActionAchievementUpdated action. So, you can always find out a result of the interaction with achievement. The list of achivements GooglePlayManager.Instance.Achievements will be updated accordingly to an achievement state. The result is represented as a GP_AchievementResult object.

GooglePlayManager.ActionAchievementUpdated += OnAchievementUpdated;

private void OnAchievementUpdated(GP_AchievementResult result) {

    string responseCode = result.Response.ToString();
    string achievementId = result.achievementId;
	AndroidNative.showMessage ("Achievement Updated ", "Id: " +achievementId + "\n status: " + responseCode);


You do not need to write an additional code to unlock the achievement; Play Games services automatically unlocks the achievement once it reaches its required number of steps.

A good practice is to define the achievement IDs in the ids.xml file, so your game can reference the achievements by resource ID.

For the testing purpose, plugin gives an ability to reset achievement progress with the following methods:


Note: As this is the feature only for testing, on google play servers progress will be presented immediately, but achievement data cache will be updated after next interaction with an achievement.


Displaying achievements

To show a player's achievements, call

GooglePlayManager.Instance.ShowAchievementsUI ();

An example of the default achievements UI is shown below.


The example of using the full API can be found under the PlayServiceExample.cs script.