Animation Replication Problem

I’m trying to fix an issue with animations not always replicating to other clients.

I’m trying to find the issue and possible solution to a problem regarding the replication of animations to other clients. The issue I have found is very inconsistent and I cannot see why it’s appearing.


Here you can see that the animations work perfectly, but only for some time. You may think it’s an issue with the jump animation, but here’s another video showing no change at all after I have jumped:

I’ve tried searching for possible solutions, and came across having to replicate the animations manually using remotes - however this shouldn’t be required because Animations as far as I know (using a Humanoid and Animator) are replicated automatically to the Server, therefore other clients.

If unfortunately the Animations do require manual replication via remotes, is it possible to handle this using some sort of a script, which automatically picks up the animation played and replicates it to the server, or will I have to replicate all animations as they’re played from many different scripts?

Please ask for more details if I’m not quite clear with the issue, and many thanks for reading my post.
excA

2 Likes

From the documentation:

When calling LoadAnimation from LocalScripts you need to be careful to wait for the Animator to replicate from the server before calling LoadAnimation if you want character animations to replicate. You can do this with WaitForChild(“Animator”)

Also,

If an Animator is a descendant of a Humanoid or AnimationController in a Player’s Character then animations started on that Player’s client will be replicated to the server and other clients.

If the Animator is not a descendant of a player character, its animations must be loaded and started on the server to replicate.

Have you tried this? You shouldn’t have to replicate animations with remotes.

2 Likes