I'm using Unity and trying to consume an item from a player's inventory.
ConsumeItemRequest request = new ConsumeItemRequest(){ ItemInstanceId = powerUp.ToString(), ConsumeCount = 1 }; PlayFab.PlayFabClientAPI.ConsumeItem(request, null, OnDataFailure);
I am passing in the instance id that I've defined in my dashboard, but I'm getting this error:
/Client/ConsumeItem: Invalid input parameters ItemInstanceId: must be a hex-encoded number
Is there a place where I can get this number that's tied to the item id in the dashboard? (I'm not seeing anything, so I'm hoping someone can point me in the right direction.)
Thanks!