I have created GetSharedGroupData resquest and which works fine but I am not able to read SharedGroupDataRecord from KeyValuePair. Code is as follows :
PlayFabClientAPI.GetSharedGroupData(new GetSharedGroupDataRequest() { SharedGroupId = PlayFabAuthHub.PlayFabId + "_FriendRequests", GetMembers = true }, SharedGroupData, OnPlayFabError );
private void SharedGroupData(GetSharedGroupDataResult result) { foreach (KeyValuePair<string,SharedGroupDataRecord> kv in result.Data) { Debug.Log(kv.Key +" "+ kv.Value); } }
It returns key with kv.Key but not its value which is stored in Shared Group Data in PlayFab account.
For testing purpose I have created a key/value pair with a/b in SharedGroupData.
I am attaching a screenshot of output here which I am getting in Unity Console: