Little trouble regarding getting membership info. Started using entities today and was able to bring up my group info and display membership using the optional parameter when logging in - that much worked fine.
I'm wanting to be able to display Arena opponents and I do this using GetLeaderboardAroundPlayer(). Has been working fantastically - I use Statistics to store avatar customization, works really well. However, I'm also wanting to display the player's Guild. Now, as above I have managed to get Groups working well enough for retrieval for the logged-in player, but as for other players dragged from the leaderboard? My mind went straight to "ShowMemberships" under ProfileConstraints, as far as I can see, that's exactly what I need, that memberships are consistent regardless of using EntityToken or PlayFabId. Am I wrong in this assumption? Or just doing something else incorrectly?
ProfileConstraints = new PlayerProfileViewConstraints() { ShowDisplayName = true, ShowStatistics = true, ShowMemberships = true }
Above code is returning "Invalid view constraints", if I remove ", ShowMemberships = true" I don't receive any errors.