I am getting that error while showing player Title data using their playfab ID through server API call
public void UpdatePlayerStatistics(string pid) {
PlayFabServerAPI.UpdatePlayerStatistics(
new UpdatePlayerStatisticsRequest() {
PlayFabId = pid, Statistics = new List<StatisticUpdate>() {
new StatisticUpdate() {
StatisticName = "Headshots",
Value = 10 } } },
result => Debug.Log("Complete"), error => Debug.Log(error.GenerateErrorReport()) ); }
,I am getting this error when I used below code
public void UpdatePlayerStatistics(string pid) {
PlayFabServerAPI.UpdatePlayerStatistics(
new UpdatePlayerStatisticsRequest() {
PlayFabId = pid,
Statistics = new List<StatisticUpdate>() {
new StatisticUpdate() { StatisticName = "Headshots", // Version = 2, Value = 10 } } },
result => Debug.Log("Complete"), error => Debug.Log(error.GenerateErrorReport()) ); }