Leaderboard issues

Godot Version

4.4

Question

Hey I’m having some trouble getting my Google Play Leaderboards up.

So I have set up the oauth, I linked everything, I created the button, it’s all good.

But when I run the game on my phone and I press the button nothing comes up.

Other notes: I am seeing the Google Games login thing, like it signs me into my account automatically when you open the app.

But when I press the button in developer mode and logcat all that jazz I see “Engine.has_singleton(“GodotPlayGameServices”) == false” or something.
ChatGPT has been running me in circles for like 2 days now trying to fix this so any help would be appreciated. It thinks it’s not exporting the plugin with the Android build and it keeps telling me I need to have an android folder in the godotplaygameservices addons folder but it doesn’t exist.

I took the time to make my own global leaderboard system using my website and its existing PostgreSQL database backend. Granted, it was a very small step in my case since I already had the website and the database, and I already know website programming using PHP. If you don’t have those, you will be doing yourself a huge favor by learning how to do it. Relying on a 3rd-party for a core service will almost always lead to regret, be it availability, censorship, or terms of service nit-picking. Controlling your own infrastructure is vastly preferable to relying on a 3rd party. I would run my company on my home Internet service rather than renting a server from a datacenter if static IP’s weren’t so ridiculously expensive, as I still have to be somewhat cautious to not violate some stupid, unknown ToS of the datacenter.

Here’s a screenshot of one of my games displaying its leaderboard on the title screen:

It will be well worth the effort for you to make your own.