Cannot load animationclipprovider service error

i’m trying to load an animation in an animationcontroller inside a worldmodel and it’s giving me an error saying

image

this is also on the client

You can’t load AnimationClipProvider on the client. It is stated in the documentation as well:

i wasn’t aware that i was even using this, this is the line that’s erroring:

Model.AnimationController:LoadAnimation(IdleAnimation):Play()

The old animation library got depreciated and replaced with this new one. You can find more information here:

Basically, you should load the animation on the server and play it from there. I think you can also play it on the client, but you’ll need to have created an Animator first that the server can see. Look in the topic above for more information if you would like to find out more.

1 Like

so if you clone a model with an animationloader on a client and parent it elsewhere (viewport), then it’s impossible to load an animation?

Not really. You just need to make use of an Animator. You need to create an Animator (I think you can do it via the client too), load the animation to the Animator, and from there play it. You can find more details here about the Animator object:
https://developer.roblox.com/en-us/api-reference/class/Animator
I haven’t done animations before, so I don’t really know how it works, but it seems like it requires an Animator object to animate an object.

even if i do create an animator by client and load by it, or even creating it in studio before runtime then it’ll still give the exact same error

local Animator = Instance.new("Animator", Model.AnimationController)
Animator:LoadAnimation(IdleAnimation):Play()

i will just leave the loadanimation line unedited so it stays deprecated, and it wont error

1 Like