Issues with Client-Side Animations

I am looking to disable replication of certain animations, or to play animations ONLY ON ONE CLIENT as opposed to the animation being played on every client. This is very helpful for things like animation syncing, and decreasing ram usage per client if it comes to be necessary. (Decreasing ram usage for animations is REALLY NECESSARY RIGHT NOW because our mobile players are crashing a lot at the moment!)

As shown in this article, all animations are automatically replicated to every client even if you play them locally. I have tried deleting the animator, but that creates a jumbled mess that I can’t wrap my head around by deleting all animations.

I have looked around the developer hub, however every time I search it gives me articles about something else, so I don’t know what to put into the search bar to get the answers I am looking for.

1 Like

According to the article you linked, animations loaded and played on a client will only replicate to the server and all other clients "if an Animator is a descendant of a Humanoid or AnimationController in a Player’s Character". If you want to play animations on only one specific client, then you can just load and play the animation on that client - except for the case where you’re trying to animate a player’s character.

If it is a player’s character that you’re trying to animate on only one specific client, then you may need to look into some alternative options. LMK if this is the case.

TheGamer101 explains the basics of it here I believe. https://devforum.roblox.com/t/make-automatic-animation-replication-optional/

Hope this helps a bit.

Yeah, it is animations to a players character. We have all our animation assets uploaded and are trying to animate locally via those.

So this must have been the article that told me about replacing the animator object, however if I do that, I lose whatever animations were playing previously, like idle animations and stuff like that. There would be a lot of scripting involved with re-animating that I don’t know how to do, or where to start on that.

Let’s say I were to create a new animator.

  • Would having two animators do the job? I have heard about animation priority, but would it error if I just added a second animator or something?
  • If I replace the animator, is there any way to reload those animations onto the player? (Lets say I had the bubbly animation pack equipped. I lose it when I replace the animator. Is there any way to put those animations back on the NEW REPLACEMENT animator?)

I could try to give you an answer but my knowledge of animations are way above my head, sorry.

I was thinking this too. If you have two animations running with the same priority, I believe they will combine, trying to do both animations at the same time. Would the previous animations be able to set to ‘Movement’ priority and the new animation set to ‘Action’?

I just tried running two animators, and it practically deletes, or ignores, the old animations. I want to be able to run my own animation replication system, however I can’t because ROBLOX does it automatically.