Animation not playing for non-humanoid view model with animation controller, no errors either

I have a non-humanoid first person view model with an animation controller inside. I want to play an idle animation with a gun, but it’s not playing.

I tried changing the animation priority to the highest (Action4), but still nothing happens.

This is what should be playing
image

As you can see from the shadow, nothing is playing and there are no errors in the output

This is the code that loads the animation onto the AnimationController’s animator and plays it:

local equipTrack = vm:WaitForChild("AnimationController"):WaitForChild("Animator"):LoadAnimation(equip)
equipTrack.Priority = Enum.AnimationPriority.Action4
equipTrack:Play()

You should check to make sure the script is actually running that code and that the animation is looped.

1 Like

It was a roblox engine bug, it works now.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.