Search Unity

Google Play - No Authentication

Discussion in 'Android' started by Osteel, Oct 2, 2015.

  1. Osteel

    Osteel

    Joined:
    Jan 17, 2014
    Posts:
    59
    Hi Unity,

    I've been stuck on this for the last week and I'm losing my mind. I implemented Google Play Services successfully and without issue (I had done it twice before on other projects). However, I then implemented Ad Mobs successfully and with that build, GPG is not logging me in.

    Here's the login code (untouched since it worked):


    void Start()
    {
    PlayGamesPlatform.Activate();
    Social.localUser.Authenticate(ProcessAuthentication);
    }

    void Login()
    {
    Social.localUser.Authenticate(ProcessAuthentication);
    }

    public void LoadLeaderboard()
    {
    if (Social.localUser.authenticated)
    {
    ((PlayGamesPlatform)Social.Active).ShowLeaderboardUI(boardID);
    }
    else
    {
    Login();
    }
    }


    I ran logcat and it appears to throw this error when I attempt to Login():

    E/Unity ( 8303): Unable to find gpg
    I/Unity ( 8303): DllNotFoundException: gpg


    Does anyone have any idea what's going on? :(

    Thanks