Title 44B1.
Dear PlayFab community,
I have been testing the Server API with CloudScript and the various inventory-management related functions. During my testing, I've been granting myself (via Game Manager) multiple instances of an item (Stacked/Durable), setting some CustomData, and deleting instances.
I came across something very strange this afternoon: I had zero instances of this item and went to grant myself an instance via Game Manager. When it granted the item, I noticed that the CustomData element was highlighted! Sure enough, when I examined the CustomData on this newly-granted item, it had some values from an earlier test.
I am concerned that when it granted the item, it recycled one of the previous instances that I had deleted. I want to make sure that when I grant an item, it will be brand new, with no lingering CustomData.
I notice a Revoke button in Game Manager. Instead of adjusting the count of an item with system.ModifyItemUses(), should I be somehow Revoking these items, instead?