Hello Tell me who knows. I can not connect Play Services. I do if the release build, then nothing happens at all, if I do a build for debugging, the connection window to Google Games crashes, but authorization fails. I attach a piece of script

void Start() { PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().Build(); PlayGamesPlatform.InitializeInstance(config); PlayGamesPlatform.DebugLogEnabled = true; PlayGamesPlatform.Activate(); SignIn(); } void SignIn() { Social.localUser.Authenticate(success => { if (success) { Debug.Log("log ON"); } if (!success) { Debug.Log("log OFF"); } }); } 

Signed all take away the key, which Google does not offer, but its own.

    1 answer 1

    Good day. Faced the same problem and for a long time could not understand what was the matter. I spent about a week, but in the end everything was decided. Personally, it turned out that there is no such problem. I used the SHA1 key from the certificate to sign the application. This key only works if you put the application on the Google console and start the application by downloading from the market (just lay out as the alpha version). Why is that? If it is simplified - when you upload the application for the first time, Google requests connection to the Google Play App Signing. If you are registered in this program, then sign the application with the download key. Google verifies and deletes the boot key signature, and then signs the application using the original signing key. After that, it becomes available to users. Signing up for a Google Play app signing program cannot be canceled. Therefore, the SHA1 key from the certificate for signing the application works only after your application is uploaded to the server and processed by Google. Connect to services from Build Unity in this case will not work

    • Greetings, thank you for your attention to the topic, but unfortunately I have not the case, I did not connect the signature from Google, and use my key. - Sergey Lopatin