0 votes

Hi everyone.
I am implementing the PGSGP Google Play Games Services Plugin for Godot.
I get to do the singin correctly but when i print accountid this is null, the function does not retrieve the accountid.

This is what i have coded following PGSGP:

func _on_sign_in_success(account_id : String):
    print("_on_sign_in_success")
    GLOBAL.player_google_id = account_id
    print("account_id: " + account_id)

This is the print:

0 param: --remote-debug
1 param: localhost:6007
2 param: --xr_mode_regular
3 param: --use_depth_32
4 param: --use_immersive
Installing to device (please wait...): Samsung SM-A510F
--- Device API >= 21; debugging over USB ---
--- DEVICE API >= 21; DEBUGGING OVER USB ---
Reverse result: 0
--- Debugging process started ---
Godot Engine v3.2.3.stable.official - https://godotengine.org
OpenGL ES 3.0 Renderer: Mali-T720

_on_sign_in_success
account_id: 

what could be happening? I've tried everything ...

Godot version V3.2.3.stable.official
in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.