Animation not playing

Hello, i made a custom rig with an animation, but when i try to play the animation it plays, but i can’t see it playing, i tried everything, rig is connected, it should work but for some reason i cannot see the animation.

1 Like

Is the animation looped? How long is the animation? How are you playing the animation? How are you sure it’s actually playing? Can’t help you if you don’t give that much information.

Animation is not looped, my animation is 2 seconds, the script is in the rig, it makes AnimationController play animation in the script, i think it is playing because Animation.Stopped event works.

Can you send your code? Also, are you sure the animation isn’t ending before you can see?

Forgot to mention, when i do AnimationController:GetPlayingAnimationTracks() i see the animation in there but it is not playing.

wait(5)
local anim = script.Parent.AnimationController.Animator:LoadAnimation(script.MinecartAnim)
anim:Play()

Script doesn’t have any errors, it’s just not showing up. I tried in studio and in roblox but i cannot see it.

Did you make the animation with the custom rig? Did you make any changes to the rig after making the animation?

Yes, i made the animation with the custom rig and i did not change it after the animation, i tried importing the animation and publish it again but it does not work. The animation id is correct, priority is action but animation doesn’t show up.

In your code you’re waiting 5 seconds, then playing the animation. Maybe the script started running and played the animation before you loaded. Maybe add a print after the wait?

I loaded, but it still isn’t playing.

Did the print work???

Print worked. Also, i tried doing “print(anim.IsPlaying)” and it returned true, maybe it’s roblox bug.

I remaked the animation with Moon Animator plugin and it worked. :slightly_smiling_face: