Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by Robin Smekens · Nov 23, 2021 at 04:07 PM · data

How does the custom inventory instance data limit work?

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.

  • Is this a limit for the value per key? (so 100bytes per value for each key)
  • Is this a total for all characters combined in the value fields? (so 100bytes for all value's combined)
  • Is this a total for all characters combined in both key and value fields?
  • Is there a limit on the amount of keys?

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

screenshot-2021-11-23-165825.png

screenshot-2021-11-23-165825.png (18.5 kB)
Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

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.


limit1.png (25.8 kB)
Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Robin Smekens · Nov 24, 2021 at 11:11 AM 0
Share

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?

avatar image Rick Chen ♦ Robin Smekens · Nov 26, 2021 at 08:34 AM 0
Share

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.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    8 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    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

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges