AnimationTrack:AdjustWeight improperly replicates

animations
animationtracks
#1

Note: This happens when Workspace.FilteringEnabled is true or false

AnimationTrack:AdjustWeight leads to some interesting results when played on a Server/Test Server.

Attached it a repro file.

The following videos attempt to demonstrate what’s going on. Pay close attention to the Head part
PLAY SOLO
https://streamable.com/qeyc

Working as intended!

TEST SERVER
https://streamable.com/cxty
(left server, right client)

You can see in the Test Server example that neither screen is accurate.
On the left its business as usual
On the right, both animation weights appear to be set to 1 (with the Down animation taking priority due to being play second)

WeightRepro.rbxl (13.5 KB)

1 Like
Replicating Animations
AnimationTrack:AdjustWeight() does not replicate?
Setting animation weight to 0 permenantly freezes it
#2

Not surprised. Animation weights are hardly supported as it is.

#3

Er… yes. That’s why I made this bug report…

6 Likes
#4

:stuck_out_tongue:
Just a side comment, hoping ROBLOX will consider supporting it more than they currently are.

#5

Everything in the Repro is in a Script inside of the Dummy in Workspace.

#6

This is still a thing, and I keep running into it. Over the summer @Davidii had it fixed and enabled it but was turned off and has yet to be re enabled.

I currently have to play everyone’s animations locally per client to take advantage of weight. It’s not an ideal work around to the bug and it should replicate the same as speed.

2 Likes
#7

I didn’t know this got turned off. I thought it worked fine… hm.

#8

This issue is still very much affecting developers today, preventing me from being able to implement directional movement animations through blending walk cycles.

As many games are working around this issues by creating their own replicating systems, or even resorting to semi-custom characters, it would be fantastic if this is looked into. Especially since @Davidii worked on a solution in the past and the Speed property of animations does replicate correctly, which is nearly identical in the ways of interaction and replication.

Upon further investigation I found out that there is one working way to replicate the weight of animations to other clients:

  • Play animations with a weight of 1 (not 0)
  • Ensure AdjustWeight never sets to 0 (0.01 at minimum)

The issue seems to be related to other clients stopping animations when Weight is set to 0. By using this workaround you can achieve your desirable effect until Roblox fixes this issue.

Here is another bug report about the 0-weight issue specifically:

4 Likes
AnimationTrack:AdjustWeight() does not replicate?