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 /
  • API and SDK Questions /
avatar image
Question by Nicolas C · Feb 18, 2021 at 03:19 AM · Player Datadataentitieslimits

Entity Objects, Entity Files or Legacy player data

Currently evaluating the best way to store player data in PlayFab for our game. I noticed the new entity system and I'd like to use it, the problem is as follows:

Player save is made of 10 JSON from 500 bytes to 3 KB.

Since the entity objects max count on my plan is 5 I could merge the data to only have 5 JSON but the limit of 1000 bytes per entity object will be exceeded by 1 to 3 KB.

What would be the best way in your opinion ? I could store those 10 JSON as entity files but since it's not even 5 KB for each file it would not meet the ideal requirements for using entity files.

Should I use the legacy player data key/value in this case ? Thanks

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 · Feb 18, 2021 at 07:17 AM

The Entity Objects are used to read and write small JSON-serializable objects attached to an entity. Yes, you could use the Key/Value pair data or entity files to store the data instead. Entity files allow you to read and write files attached to an entity in any format. Player data allows you to store Key/Value pair data for players, there are 3 modes of access to player data which allows you to control the access of the data. You can choose either of them based on what you are trying to achieve. For more detail please refer to: Entity objects, Entity files, Player Data.

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 Nicolas C · Feb 27, 2021 at 07:06 PM 0
Share

I'll use Player data then since entity objects 1000 bytes limit is too small. Thanks

avatar image sking · Feb 13 at 11:23 PM 0
Share

Sorry, but can I be honest by saying that this new Entity model is a real step backwards for this service. Docs seem to insinuate that this is what we should be using but really it just makes things more complicated. Entity Objects seem great until you hear they have a 1000 byte limit. No problem, we can use the entity files. Oh, entity files requires 3 API calls to write a file. Fantastic. I understand there are probably numerous benefits to this feature in the backend of things, but for us users it's just complicated and frustrating trying to do something that used to be simple.

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

    5 People are following this question.

    avatar image avatar image avatar image avatar image avatar image

    Related Questions

    Player data limit 1 Answer

    How do data value update limits work? 1 Answer

    Understanding the limits... 1 Answer

    Trouble uploading a text file as an entity file onto playfab. 1 Answer

    Upload JSON file Unity (entity) 2 Answers

    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