Data Storage + Animation Failure (F9 SHOWN)

I was casually relaxing on my game and then I appear to have a load of script errors.
These are server sided errors and they appear to cause delay/slowness in the animations.
Further details/analysis would be helpful.

You’re requesting too much queues in your DataStore script oof, how frequently are you saving the data?

1 Like

I have no idea what data is being saved if I’m honest.
We have:

  • Pathfinding “entities”
  • Donation boards that auto update
  • Trello auto update
  • 3-4 animations running on humanoids constantly
  • A weapon system that uses a few animations

And I believe that’s all that updates I would have to look deeper to find more.
Could these be apart of the problem?

These are not errors. These are warnings that you might eventually hit the upper wall for saving and at that point, you will start getting actual errors. Yellow message = warning.


Source: Data Stores

Your animations could be delayed if you’re starting them right after the datastore call, which can cause a little delay until it finishes.

As I’m very new to datastorage, how can I fix this issue? - Do I need to add wait()?

It would help out a lot more if we saw the entire script :sweat_smile:

That is my issue, I have no clue what is causing the problem, I tried searching the ‘key’ in the scripts and I’ve tried searching explorer. This issue has only recently shown.

It is not an issue. DataStores* just do this. It’s a friendly warning and won’t have an impact on your game until you, as I said, hit the limit for DataStore requests.

About animations: if you’re not doing this already, load animations in LocalScripts - they show up for everyone, no matter what.

You need to get a grasp of how your game works. Not knowing what script would cause an issue will be a huge problem in the long run.

I will change the server sided NPC’s to local scripts, that is appreciated. I do understand how my game works its just the past few weeks I’ve been trying out new things and coming across things developed 2-3 years ago. It is quite an old game.
Your reply will be marked as the solution.

1 Like

Please do note: be wary of where you place these local scripts:

Good luck with your game!

“A player character model”
Would this classify as one? - As it is a humanoid scripted animator (Final question)
image

No, it will not. By player character model, they mean your actual character for your player (that you can move around), that is, the Players.LocalPlayer.Character model.