play-games-plugin-for-unity icon indicating copy to clipboard operation
play-games-plugin-for-unity copied to clipboard

Welcome/Authenticated pop up is not showing.

Open bionics07 opened this issue 2 years ago • 17 comments

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

  • Unity version: 2020.3.22f1
  • Google Play Games Plugin for Unity version: 11.01

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

bionics07 avatar Mar 29 '22 18:03 bionics07

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

vailshnast avatar Apr 10 '22 18:04 vailshnast

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.

berkaytndgn avatar Apr 10 '22 20:04 berkaytndgn

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.

bionics07 avatar Apr 11 '22 15:04 bionics07

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

BlackCatKPI avatar Apr 19 '22 13:04 BlackCatKPI

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

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

berkaytndgn avatar Apr 19 '22 13:04 berkaytndgn

You're talking about v. 0.10.14, right?

BlackCatKPI avatar Apr 19 '22 15:04 BlackCatKPI

You're talking about v. 0.10.14, right?

Exactly.

berkaytndgn avatar Apr 19 '22 18:04 berkaytndgn

Up!

ksvslk avatar May 09 '22 15:05 ksvslk

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.

ozdemir08 avatar May 09 '22 16:05 ozdemir08

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.

Kenorbrook avatar May 18 '22 08:05 Kenorbrook

@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 avatar May 18 '22 13:05 userqt

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.

userqt avatar May 19 '22 20:05 userqt

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

Oninou avatar May 23 '22 12:05 Oninou

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 avatar May 26 '22 16:05 userqt

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.

userqt avatar Jun 07 '22 16:06 userqt

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.

AKey001 avatar Jun 07 '22 17:06 AKey001

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.

userqt avatar Jun 07 '22 17:06 userqt