I have pets, they are created on server, and then network owner is set to the player. Then on client, it plays specific animations.
local Success, ErrMsg = pcall(function()
equippedPet.IdleAnimationTrack = equippedPet.PetInstance.AnimationController.Animator:LoadAnimation(equippedPet.PetInstance.Idle)
end)
if not Success then
equippedPet.IdleAnimationTrack = nil
warn(ErrMsg)
else -- Play on load
equippedPet.IdleAnimationTrack:Play()
end
It works for my client, but other players pets are not showing animations at all.
Also worth noting that even player animations are not replicating (the default Roblox animations) When players walk, they just slide across screen.
No, animations are supposed to replicate across clients. Doesn’t explain why player animations aren’t playing either, as they are just default roblox animations
Taken from roblox developer hub Link
So, in order for pet animations to work you would have to play them on the server OR parent the pets to your player. (which might cause issues on character death)
Is there any script that modifies joints/recreates them? Or is everything character and animation related fully stock? I’ve also noticed some players are not t-posing but stuck in some random animation, fall animation for example. Playing too many animations in the span of 10 seconds causes issues too I’ve heard.
I’ve never seen any warning for it. I’m not doing that many animations on a single Animator either. Each pet has an Animator and they only have 2 animations (Idle and Walk)
And again, it should not be causing the default Roblox character animations to not be working
I’ve stacked hundreds of animation tracks on a character before (for testing purposes) and it essentially freezes all of its animations (including default ones) which is why I asked.
Hmmm right. The only custom animation I have on the character is a sprint animation. My character has normal walk and jump animations though, but it’s only everyone else on my screen thats not playing animations, but it’s vice versa for all of them. Basically, only you can see your own characters animations/own pet animations. Everyone else is not seeing any animations whatsoever
Actually your code is wrong, You see the documentation has been wrong for a while, animations will not play if loaded from your client even if you have network ownership of said rig, you will need to play them from the server so everyone else sees them , Animations only replicate when loaded into the character’s animator or humanoid but dont use the humanoid its deprecated
Hope it helped, also yes the documentation being wrong was confirmed by a roblox admin who worked on the whole animation thing for roblox studio
cc @mkn00b@CCTVStudios is thats the case for pets, then what about players? In the video, you can see players ‘sliding’ around (there walk animations do not play) nor do their jump animations