I'm using this code in Unity to create a new statistic, and am assigning StatisticAggregationMethod.Min. However, the statistic continues to use the "Last" item sent, and also shows as "Last" on the PlayFab dashboard. If I switch the aggregation method to "Min" on the dashboard it will stick and continue to function correctly. Any ideas??
PlayFabAdminAPI.CreatePlayerStatisticDefinition( new PlayFab.AdminModels.CreatePlayerStatisticDefinitionRequest() {
AggregationMethod = PlayFab.AdminModels.StatisticAggregationMethod.Min,
StatisticName = "Name",
VersionChangeInterval = PlayFab.AdminModels.StatisticResetIntervalOption.Never
}, result => { //It was created.. }, statsError => { Debug.Log("Could not create statistic: " + statsError.GenerateErrorReport()); });