Hello,
I am trying to get Title Display name of current player, which is properly set in Game manager.
The first approach works, but the second doesn't. Is there something I misunderstood or is it a bug?
server.GetPlayerProfile({ PlayFabId: currentPlayerId }).PlayerProfile.DisplayName; // -> returns correct name var accountInfoResult = server.GetUserAccountInfo({ PlayFabId: currentPlayerId }); entity.GetProfile({ Entity: accountInfoResult.UserInfo.TitleInfo.TitlePlayerAccount }).Profile.DisplayName; // -> returns undefined