Hi,
There is a 100 bytes limit for inventory instance data. I didn't find a clear description of what this actually applied to as it can be interepreted in multiple ways.
Would be awesome to have a clear answer on this so we exactly know how we can best store our data without exceeding of the limits.
Friendly regards,
Smekens Robin
Answer by Rick Chen · Nov 24, 2021 at 09:25 AM
The 100 bytes limit for Inventory item data value size is for the value per key. And the soft limit on the amount of key/value pairs should be the same as the Inventory item data updates per request, which is 5 pairs.
Thanks for the answer just a follow up question. Is the limit of key/value pairs per inventory item also 5? (is there a hard limit) Or can an inventory item have 10+ key/value pairs but then send updates in batches of 5?
There is no hard limit for inventory item data key/value pairs per item. You can put 5+ pairs of key/value on an item with multiple requests (each request is limited to update 5 pairs). However, it is recommended to keep the usage under 5 pairs. Or it could add up when there are many players who have many items and may affect the performance of your title.
Representing relational data in Title Data,How to represent relational data in Title Data 1 Answer
We need to store data for a turn based game, that data is about like 5kb because are long turns. 1 Answer
Custom Data size for Store/Catalog/Inventory is way to small 1 Answer
Save and Load player location or other data in UE4 Blueprints? 1 Answer
I created two custom events - how can i see data based on that inner json body? 1 Answer