playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.47k stars 966 forks source link

Welcome/Authenticated pop up is not showing. #3130

Open bionics07 opened 2 years ago

bionics07 commented 2 years ago

BUG In my game i can authenticate with PlayGamesPlatform.Instance.Authenticate(ProcessAuthentication); but i can't see the pop up informing that to me. I was using this package before and now I'm trying to update to version 11.01. This is called in a loading step of the game.

        base.SignIn(onSuccess, onFailure, silent);
        PlayGamesPlatform.DebugLogEnabled = true;
        PlayGamesPlatform.Activate();
        if (silent)
        {
            //PlayGamesPlatform.Instance.Authenticate(ProcessAuthentication);
            Social.localUser.Authenticate(OnSignInResult);
        }
        else
        {
            PlayGamesPlatform.Instance.ManuallyAuthenticate(ProcessAuthentication);
        }
        void ProcessAuthentication(SignInStatus status)
        {
            if (status == SignInStatus.Success)
            {
                // Continue with Play Games Services
                OnSignInResult(true);
            }
            else
            {
                OnSignInResult(false);
                // Disable your integration with Play Games Services or show a login button
                // to ask users to sign-in. Clicking it should call
                // PlayGamesPlatform.Instance.ManuallyAuthenticate(ProcessAuthentication).
            }
        }

Expected behavior I want to see the pop up when i authenticate.

Versions

Additional context I tried to see logs with log cat about PopUpManager or login failed but i couldn't find nothing.

vailshnast commented 2 years ago

Did you manage to fix this or you reverted back to previous version?

berkaytndgn commented 2 years ago

Hello, I am having the same problem. The authorization process is completed in the background and getting SignInStatus.Success, but cannot see any welcome popup.

bionics07 commented 2 years ago

Did you manage to fix this or you reverted back to previous version?

@vailshnast i tried to fix and search for something about this pop up, but i didn't find some fix, so i just did a rollback for previous version.

BlackCatKPI commented 2 years ago

Still actual. Is there any stable version that has to be used?

berkaytndgn commented 2 years ago

Still actual. Is there any stable version that has to be used?

v10 is currently stable. I also rolled back to v10.

BlackCatKPI commented 2 years ago

You're talking about v. 0.10.14, right?

berkaytndgn commented 2 years ago

You're talking about v. 0.10.14, right?

Exactly.

ksvslk commented 2 years ago

Up!

ozdemir08 commented 2 years ago

Hi everyone, thanks for reporting the issue and commenting on this. The issue is not in the plugin, but in our module in the Play Services app. We have fixed the issue and the roll-out is in progress. No action is needed on your side.

On a side note, significant number of games have been using the v11 plugin for a while now and it has a higher sign-in success rate than the v10 plugin. So apart from the welcome pop-up issue, it should be safe to use.

Kenorbrook commented 2 years ago

Hello, I am having the same problem. The authorization process is completed in the background and getting SignInStatus.Success, but cannot see any welcome popup.

userqt commented 2 years ago

@ozdemir08 , could you explain a bit what does it mean that the roll-out mentioned above is in progress? Which app (Play Services App) is that exactly? Do we have to wait for some days until it is updated?

userqt commented 2 years ago

Looks like this issue and project in general receives quite low response rates.

Regarding the native authorization pop up not showing, I found something new, which might help someone else who stumbles in here. If you had already created a Google Play Games profile account inside the app, to check if native UI shows in general you can delete the account by going into the app -> click the three dots -> Delete Play Games account & data. You can do this only if you have a test account created, otherwise you will lose your progress from other games you played. The next time you open your game, it will show you a guide native screen to create new account.

Still the small welcome native pop up doesn't show, not sure if it only doesn't show for local builds. I hope it will be fixed soon.

Oninou commented 2 years ago

I'm actually on v11.01 and i'm having the same issue, where the authentication is working but there is never the pop up telling the player that the authentication worked

userqt commented 2 years ago

Yep, I am still waiting for resolution of this issue. Any news? I am still checking this on internal or closed test. Haven't released it yet. I hope it should have nothing to do with whether the game is live or for test.

userqt commented 2 years ago

So yeah, it's been some days already and I don't see any progress on this. It's a shame, but I have to switch now to an older version of this plugin.

AKey001 commented 2 years ago

I have watched this thread for some time because it was also not working in my project with v11.01. But today it worked without changing something inside the unity project. So I think it was a problem within the Google play Games App, which is responsible for these popups. I updated it on my test device and now it works. So I think they changed something there. Be sure that this app is installed with the latest version.

userqt commented 2 years ago

AKey001 Oh man, I almost lost hope on this one. There was no update showing for the Google Play Games app. Even after clear cache and data for the playstore app. So based on your comment, I just uninstalled the Google Play Games App and installed. Then tried it with my app, and yep the message was there.

Thanks a lot.