Hello,
I must be overlooking something really obvious. I am getting an OnPlayFabError does not exist in the current context with the SetObjects code from the Entity Objects examples:
using PlayFab; using PlayFab.ClientModels; using PlayFab.DataModels; using PlayFab.AuthenticationModels; using System.Collections; using System.Collections.Generic; using UnityEngine; public void Store_Character(Player_Data playerData) { var data = new Dictionary<string, object>() { {"Health", 100}, {"Mana", 10000} }; var dataList = new List<SetObject>() { new SetObject() { ObjectName = "PlayerData", DataObject = data }, // A free-tier customer may store up to 3 objects on each entity }; PlayFabDataAPI.SetObjects(new SetObjectsRequest() { Entity = new PlayFab.DataModels.EntityKey { Id = entityID, Type = entityType }, // Saved from GetEntityToken, or a specified key created from a titlePlayerId, CharacterId, etc Objects = dataList, }, (setResult) => { Debug.Log(setResult.ProfileVersion); }, OnPlayFabError ); }
I am sure that I am overlooking something really simple, just not seeing it. I am using C# within Unity. entityType and entityID are both set during the initial anonymous login that is working.
thank you