Question from a developer:
I am currently experiencing an issue with one of my CloudScript functions that is called from the client to unlock a random item from my PlayFab catalog. The function gets a random item using drop tables, verifies that the client has enough currency to purchase the item, and if so deducts the appropriate amount from their balance before granting them the item. A JSON object is returned to the user containing a success flag, the item id, item class, and their new balance.
The issue I am having is that the item class is sometimes null, which should be impossible given that all items in the catalog have a class. I used bulk edit to give the items classes as they were not initially assigned when I entered the items. The value for the item class is coming from the response to the GrantItemsToUser function in the server API.
I cannot figure out what is going on here, if there is some reason why this would happen or there is a bug somewhere. Have you heard of anything like this happening before?