Hello, I'm running into a very strange bug?
I'm running a SubtractUserVirtualCurrency request in an azure function. The balance being returned from the function is correct, but on the playfab dashboard the value is only reduced by 1.
For example if I have 100 "GO" and I run this script with a cost of 5.
95 is returned from the spendResult.Resutl.Balance.
However the balance on the PlayFab dashboard for that player shows 99
I can't think of anything on my end that would cause an issue like this.
var spendResult = await server.SubtractUserVirtualCurrencyAsync(new SubtractUserVirtualCurrencyRequest() { PlayFabId = context.CallerEntityProfile.Lineage.MasterPlayerAccountId, Amount = cost, // 5 VirtualCurrency = "GO", }); if (spendResult.Error?.ErrorMessage != null) { return new {success = false}; } return new {success = true, amount = spendResult.Result.Balance};