question

cdw0424 avatar image
cdw0424 asked

"InfoResultPayload.PlayerProfile.DisplayName" returns "null".

When using C# PlayFabAllSDK in Unity.

In the PlayPep title, "DisplayName" exists,

but "InfoResultPayload.PlayerProfile.DisplayName" returns "null".

Why is that?

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

·
cdw0424 avatar image
cdw0424 answered

I didn't get an answer for a day, but I ended up finding a solution myself.

It was very simple.

When creating the "PlayerProfileViewConstraints" class

Add "ShowDisplayName" as true.


1 comment
10 |1200

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

Rick Chen avatar image Rick Chen ♦ commented ·

I am glad that you have figured it out. If you have any further questions, please feel free to ask.

1 Like 1 ·

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.