Google Login

Support for MFPS 2.0 (for verified users)
Forum rules
To request support/assistance for MFPS, you first have to verify your purchase by sending your purchase invoice number to Lovatto in a PM.
Post Reply
User avatar
octavianrhapsody
New Member
New Member
Posts: 2
Joined: Fri Dec 17, 2021 7:01 am

Hi,

After installing google login add-on stick with your tutorial, when I tried to login with google "Obtaining permission..." message show up and disappear.
2 debug messages appear which return object are;
1st is:
UnityEngine.Debug:Log (object)
ULoginResult:Print (bool) (at Assets/Addons/ULoginSystemPro/Content/Scripts/Internal/Structures/ULoginResult.cs:79)
MFPS.ULogin.Google.bl_GoogleAccountOauth:<GetAccessToken>b__14_0 (ULoginResult) (at
Assets/Addons/ULoginSystemPro/Authenticators/Google/Scripts/bl_GoogleAccountOauth.cs:126)
bl_ULoginWebRequest/<DoPost>d__4:MoveNext () (at Assets/Addons/ULoginSystemPro/Content/Scripts/Internal/Utils/bl_ULoginWebRequest.cs:43)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)

2nd is:
UnityEngine.Debug:Log (object)
bl_LoginPro:SetLogText (string) (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/Main/bl_LoginPro.cs:918)
MFPS.ULogin.Google.bl_GoogleAccountOauth:<GetAccessToken>b__14_0 (ULoginResult) (at
Assets/Addons/ULoginSystemPro/Authenticators/Google/Scripts/bl_GoogleAccountOauth.cs:136)
bl_ULoginWebRequest/<DoPost>d__4:MoveNext () (at Assets/Addons/ULoginSystemPro/Content/Scripts/Internal/Utils/bl_ULoginWebRequest.cs:43)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)

I think I can not get the access token....
Any recommendation is grateful.
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Hi,

Which version of ULogin Pro are you using?
When exactly (in the sign-in process) do the errors appear?
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
octavianrhapsody
New Member
New Member
Posts: 2
Joined: Fri Dec 17, 2021 7:01 am

I am using 1.9.47 version of ULoginPro. While normal sign-in process it throws this;

UnityEngine.Debug:Log (object)
bl_LoginPro:SetLogText (string) (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/Main/bl_LoginPro.cs:913)
bl_LoginPro/<LoginProcess>d__34:MoveNext () (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/Main/bl_LoginPro.cs:113)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
bl_LoginPro:Login (string,string) (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/Main/bl_LoginPro.cs:102)
MFPS.ULogin.bl_SignIn:SignIn () (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/UI/bl_SignIn.cs:92)
MFPS.ULogin.bl_SignIn:DoSignIn () (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/UI/bl_SignIn.cs:66)
UnityEngine.UI.Button:OnSubmit (UnityEngine.EventSystems.BaseEventData)
MFPS.ULogin.bl_SubmitButton:Update () (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/UI/Navigation/bl_SubmitButton.cs:26)

after that it throws these logs;

Login Result: success
id|3
name|chnbrs
nick|kaffa
kills|0
deaths|0
score|0
coins|1000
purchases|
meta|
clan|-1
clan_invitations|1,
playtime|0
email|*****@gmail.com
active|1
ip|176.***.***.***
friends|
status|0
verify|done
user_date|2021-12-22 16:43:44

UnityEngine.Debug:Log (object)
bl_LoginPro/<LoginProcess>d__34:MoveNext () (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/Main/bl_LoginPro.cs:135)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)


And this;

Sign In success!
UnityEngine.Debug:Log (object)
bl_LoginPro:SetLogText (string) (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/Main/bl_LoginPro.cs:913)
bl_LoginPro:OnAuthenticated (MFPS.ULogin.CustomAuthCredentials,MFPS.ULogin.LoginUserInfo) (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/Main/bl_LoginPro.cs:269)
bl_LoginPro/<LoginProcess>d__34:MoveNext () (at Assets/Addons/ULoginSystemPro/Content/Scripts/Runtime/Main/bl_LoginPro.cs:158)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
Post Reply