Hello. I can't figure out what I am doing wrong. Yesterday all was working, but today the CustomData is shown as null. In Player Inventory on site
the item is present, but nothing set in CustomData.
Hello. I can't figure out what I am doing wrong. Yesterday all was working, but today the CustomData is shown as null. In Player Inventory on site
the item is present, but nothing set in CustomData.
The CustomData for an newly purchase item is indeed null if you don’t manually update it using the UpdateUserInventoryItemCustomData API. And, since it’s a server API, you’d need to call it from the server side, for instance, using CloudScript. For more info about CloudScript, please see: CloudScript quickstart - PlayFab | Microsoft Docs
And, these threads would be helpful:
OK, but there are a function named ”PurchaseItem” in PlayFabClientAPI, and it have customData parameter, what is purpose of this parameter?
That's not the same thing with the inventory custom data, please refer to this thread: PurchaseItem()'s customData And ExtraHeaders Parameters in Unity SDK, how do they work? - Playfab Community
3 People are following this question.