I want that a player can see some information about his friends but It's not possible to show the informations to the player because the friend's profile is null. For example, I want to get the AvatarUrl from the profile.
Why is the profile null?
What is PlayerProfile.Origination? Is this the country where the player is logged in right now with his device?
public async void GetFriends() { await NewGetFriends(); } private async Task NewGetFriends() { var request = await PlayFabClientAPI.GetFriendsListAsync(new GetFriendsListRequest() { IncludeSteamFriends = false, IncludeFacebookFriends = false }); if (request.Error != null) { Console.WriteLine(request.Error.GenerateErrorReport()); } else { _friends = request.Result.Friends; foreach (var entry in _friends) { FriendsList.Add(new FriendsContainer(entry.FriendPlayFabId, entry.TitleDisplayName, entry.Profile.AvatarUrl, entry.Profile.PlayerId, entry.Profile.Origination.Value.ToString())); } } }