question

Andre Kolbe avatar image
Andre Kolbe asked

Login with DisplayName

Hello I have a problem, how can you log in with the DisplayName? This is how I have it now:

    public void Login()
    {
        var request = new LoginWithPlayFabRequest();
        request.TitleId = PlayFabSettings.TitleId;
        request.Username = loginUsername.text;
        request.Password = loginPassword.text;


        // Request an PlayFab API übergeben
        PlayFabClientAPI.LoginWithPlayFab(request, OnLoginResult, OnPlayFabError);
    }
Player Dataunity3d
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Made Wang avatar image
Made Wang answered

To clarify, Username in LoginWithPlayFab is not DisplayName, but PlayFab username. You can check it in GameManager->Players->[Player]->Overview.

And, DisplayName cannot be used for login.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.