FAQ

Tools/Gley menu is not shown. Cannot open the Settings Window.

Fix all errors (red messages) from your console so that scripts can compile.


Repo path 'Packages/com.google.play.games/Editor/m2repository' does not exist.

Resolve Android Libraries does not work

Find the fix here: https://github.com/playgameservices/play-games-plugin-for-unity/issues/3145


The name 'AchievementNames' does not exist in the current context

The name 'LeaderboardNames' does not exist in the current context

Add using Gley.GameServices; to your file


Login always fails

Solution1: Verify that your App ID is correct and does not have any white spaces before or after.

Solution 2: Upload your game to Google Play and download it with your test user.

Solution 3: Debug your app on device and see exactly what error do you get. Here is a simple tutorial on how to do that:


The type or namespace name 'AchievementNames' could not be found

This happens when plugin folder is deleted and reimported.

Fix: Navigate to Player Settings->Other Settings->Scripting Define Symbols and delete GLEY_GAMESERVICES_ANDROID or GLEY_GAMESERVICES_iOS


The namespace <global namespace> already contains a definition for 'AchievementNames'

Solution 1: Make sure your editor is on Android or iOS platform.

Solution 2: Delete AchievementNames.cs and LeaderboardNames.cs from the example folder.

Last updated