Announcement

Collapse
No announcement yet.

Getting google play nickname and user id

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Getting google play nickname and user id

    Hey guys, I'm trying to get google play nickname and userID, after loggin game to google play services but I'm getting same ID with different user logged in and PlayerName is returning zero all the time. I've tried BP and I've also tried some cpp function but still with no luck:

    return PlayerController->PlayerState->UniqueId->GetHexEncodedString();
    return PlayerController->PlayerState->GetPlayerName();


    Controller is one from the Show external Login UI BP which is used to get player logged in:

    Click image for larger version  Name:	2020-06-01 16_29_56-BPGameInstance.png Views:	0 Size:	17.1 KB ID:	1769682


    Do you have any idea how to make it work? Thanks!




    #2
    I subscribe to the question.

    Comment

    Working...
    X