Can too many values cause lag?

I am currently making an open-world style game, and I plan to have around 52 players maximum.
In my game, I am planning to have over 100 skills to learn, perks and more.

Players also have character slots, which are basically duplicates of each other. In total, there are around 500 values that will be saved in a single Player (around 166 values per slot, 3 slots in total). But what I am worried about is having 52 players having approximately 500 values each. That adds up to around 26,000 number values and string values stored in all of the players.

I am also using ProfileService to save the data, just for further information.

Will this cause any performance issues? Do I even need to worry about this?

2 Likes

No this isn’t something to be worried about. Just make sure BindToClose has a long enough wait so the last player can get their data saved. Maybe ProfileService already does that though (never used it).

3 Likes