I am trying to implement parties.
In my server I am creating a entity group like this:
var request = new CreateGroupRequest { Entity = new EntityKey { Id =characterid, Type = "character" }, GroupName = characterid }; PlayFabGroupsAPI.CreateGroup(request, resp => { // yay this worked }, err => { // some error });
That is working great, I can see my group created in the playfab console, and my character set as the administrator.
Now, I try to retrieve my character's membership like this:
var request = new ListMembershipRequest { Entity = new EntityKey { Id =characterid, Type = "character" } }; PlayFabGroupsAPI.ListMembership(request, resp => { foreach (var group in resp.Groups) { // nothing is coming here } }, err => { Debug.Log("No party found " + err.GenerateErrorReport()); });
but resp.Groups is coming back empty. Is there some undocumented policy I am missing? I thought if the server is the caller he has access to everything by default no?