Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Social API won't work #3341

Open
rico345100 opened this issue Feb 19, 2025 · 0 comments
Open

Social API won't work #3341

rico345100 opened this issue Feb 19, 2025 · 0 comments
Labels

Comments

@rico345100
Copy link

rico345100 commented Feb 19, 2025

Describe the bug
Using social api won't work. Social.localUser.authenticated always returns false even when signed in successfully, using Social.ShowLeaderboardUI(); always fails with:

02-19 22:19:24.257: I/Unity(7525): ShowAchievementsUI not implemented

To Reproduce
Steps to reproduce the behavior:

  1. Install the latest version of this package
  2. Sign in
  3. Using Social.localUser.authenticated
  4. Using Social.ShowLeaderboardUI

Expected behavior
Both should be working.

Observed behavior
Just won't work. Not helpful debug found logcat.

Bug Report
Capture a bug report and share the Google Drive link. If the bug report contains sensitive information, then make it private and only give access to requests from [email protected] accounts.

Versions

  • Unity version: 2022.3.45f1
  • Google Play Games Plugin for Unity version: 2.0.0

Additional context
I was using 0.10.14 just for the sign-out feature, but now Google forces me to upgrade Play Games SDK v2; otherwise, it won't accept any update, so I updated the GPGS plugin to the latest 2.0.0.

Documentation in the readme has entirely disappeared, and I followed all the steps in the official google play games documentation, but none of them worked.
https://developer.android.com/games/pgs/unity/unity-start

Afaik there were some extra codes like this before the update:

PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().EnableSavedGames().RequestEmail().Build();
PlayGamesPlatform.InitializeInstance(config);
PlayGamesPlatform.DebugLogEnabled = true;
PlayGamesPlatform.Activate();```

but there is no such PlayGamesClientConfiguration kinda stuff. What the heck should I do then?
@rico345100 rico345100 added the bug label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant