• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by BlackBindy · Sep 18, 2018 at 07:58 AM · google play gamesleaderboardleaderboards

GPGS Leaderboard returns only the outdated scores (Google Play Game Service)

alt text (lower number is better)

I am testing GPGS (Google Play Game Service) Leaderboard now, but it seems doesn't update it immediately.

The t$$anonymous$$ng weird is t$$anonymous$$s. Let's say I got a single ILeaderboard instance (called 'leaderboard'). And I am fetc$$anonymous$$ng "my" score once from 'leaderboard.scores', and once from 'leaderboard.localuserscore'. Even though I am using same ILeaderboard instance, "my" scores from above two approaches are different.

So I am guessing when I post score on the leaderboard, maybe GPGS plugin update my local user score immediately w$$anonymous$$le it is take some time for the actual leaderboard to be updated. but I couldn't find a proper answer on the web.

kakaotalk-20180918-164005497.jpg (446.3 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by willisuh · Aug 09, 2019 at 02:36 AM

As expected from unity community, no one posts a god damn answer

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image John-Di-Girolamo · May 11, 2020 at 01:24 PM 0
Share

Preach. I spend more time in dead-end threads of issues EVERYONE is CONSTANTLY having than actually finding answers to said common issues.

avatar image
0

Answer by BlackBindy · Sep 19, 2018 at 08:37 AM

I have solved the issue on my own, but still it is a temporary solution.

When you load a leaderboard, there would be a two way of doing it.

  1. Use PlayGamesPlatform.Instance.CreateLeaderboard() + .LoadScores()

  2. Use PlayGamesPlatform.Instance.LoadScores()

I was using the first one and the problem I wrote on t$$anonymous$$s post happened. But when I use the second one, I could get the correct latest scores.

I t$$anonymous$$nk it is a bug of Unity or GPGS plugin, w$$anonymous$$ch loads a leaderboard ONLY from cache not from network.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by rameezfyyz · Jun 06, 2022 at 02:19 PM

Can you please share your GPGS script or explain in detail how you did it? I have been to several threads and tried everyt$$anonymous$$ng but the leaderboard never fetches the updated score after the first fetch. I tried the solution by Zory in https://github.com/playgameservices/play-games-plugin-for-unity/issues/1534 but it did not work. Maybe I did somet$$anonymous$$ng wrong. Your help will be appreciated.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

95 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Google play services leaderboards 1 Answer

Google play leaderboard only works on 1 account -1 Answers

How can I load every score from the leaderboard? 0 Answers

Google Play Games Services- Leaderboard Problem 0 Answers

Loading Scores from Google Leaderboard always shows 1 Entry in a Leaderboard with over 5 scores posted 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges