play-games-plugin-for-unity
play-games-plugin-for-unity copied to clipboard
Calling PlayGamesPlatform.Instance.ManuallyAuthenticate does not result in any response.
Describe the bug Calling PlayGamesPlatform.Instance.ManuallyAuthenticate does not result in any response and the log shows "Returning an error code."
To Reproduce Steps to reproduce the behavior:
- Cancel on automatic login
- Call PlayGamesPlatform.Instance.ManuallyAuthenticate
Expected behavior Show login selection screen
Observed behavior Nothing happened
Versions
- Unity version: 2021.3.18f1
- Google Play Games Plugin for Unity version: 0.11.01
Additional context My code is copied from Simple and looks like this:
PlayGamesPlatform.Activate(); PlayGamesPlatform.Instance.ManuallyAuthenticate(OnSignInResult);
However, I have already called PlayGamesPlatform.Activate()
in the Start() method. After removing the second PlayGamesPlatform.Activate()
and running the program, it works fine.
In addition, I did not encounter the same issue when calling PlayGamesPlatform.Activate()
repeatedly in version 0.10.14.