Google Play Games "Invalid classname: Object reference not set to an instance of an object".

I can’t set up google play games for android. After pressing the setup button, I just get “Invalid classname: Object reference not set to an instance of an object.” How can I fix this?

Google Play Games plugin version: 0.10.12

Unity Editior version 2021.3.16f1

Hello,
I’ll guess that you’re talking about this tool for unity: GitHub - playgameservices/play-games-plugin-for-unity: Google Play Games plugin for Unity
This is not handled by Unity itself, so I would ask on their github directly.
Also, their project is now at version 11.01, which may fix the issue you’re seeing in your project.

It took me a long time to find a solution for this and everyone kept saying unhelpful fixes that changed nothing. The ONLY thing that fixed this for me was to download and import the External Dependency Manager and once imported into unity it will be under Assets, Assets > External Dependency Manager > Android Resolver. Click force resolve and then run setup and it will now work. Also for some reason the google play plugin will come with it but it does not seem to do anything or work. Which i suspect is the reason for this issue as i noticed for others is resolved the issues automatically when installing the plugin while my one did not no matter how many times i installed it.