C# Unity3D-谷歌游戏登录总是失败

C# Unity3D-谷歌游戏登录总是失败,c#,android,unity3d,google-play-services,C#,Android,Unity3d,Google Play Services,我正在尝试在我的游戏中使用来自GitHub的GPGS插件实现Google Play Games服务。我已经制作了Google Play控制台页面,并编写了登录脚本: using UnityEngine; using GooglePlayGames.BasicApi; using GooglePlayGames; void Start() { PlayGamesPlatform.DebugLogEnabled = true; PlayGamesPlatform.Activate

我正在尝试在我的游戏中使用来自GitHub的GPGS插件实现Google Play Games服务。我已经制作了Google Play控制台页面,并编写了登录脚本:

using UnityEngine;
using GooglePlayGames.BasicApi;
using GooglePlayGames;

void Start()
{

    PlayGamesPlatform.DebugLogEnabled = true;
    PlayGamesPlatform.Activate();
    Social.localUser.Authenticate((bool success) => {
        if (success)
        {
            Debug.Log("success");
        }
        else Debug.Log("failed");

    });
}
而且。。。这根本不起作用。有些人在他们的应用程序中看到了消失的绿色弹出窗口,但我什么也没看到。我真的不知道该怎么办。我重新安装了所有SDK,阅读了数十个论坛主题,但没有找到任何解决方案。
对不起,我的英语不好,我希望你能帮我解决这个问题。

你是不是错过了整个
PlayGamesPlatform.InitializeInstance(config)
call?@orhtej2我添加了这个,但仍然不起作用示例代码对我来说似乎很简单,你有没有尝试过遵循它?@orhtej2是的,它不起作用