"Cannot load the AnimationClipProvider Service" error for ViewportFrames SOLVED!

So I was trying to create animations in a viewport frame and along the way I ran into an issue that I couldn’t evade for the last few days. I searched up and down the developer forum only to find others with the same error being: “Cannot load the AnimationClipProvider Service”. after a few days on looking into it, I found three reasons why this could be happening on how you can fix it!

  1. Simply wait
    Sometimes the game is not fully loaded and needs a little time. You can do this using:
  • if not game:IsLoaded then game.Loaded:Wait() end
  • game:GetService("Players").LocalPlayer.CharacterAdded:Wait()
  • task.wait()
  1. You don’t have a WorldModel
    According to Robox’s doccumentation for WorldModels you need a world model to simulate physics/animations inside of your ViewportFrame this is REQUIRED in order to animate rigs inside of a ViewportFrame

  2. Your ScreenGui is parented to nothing/nil
    This is what held me up personally while working on my prohect. if your try to play an animation before the ScreenGui’s parent is set, this will cause an error. this is what I believe has held up the majority of developers who have ran into the same issue as me.

These are all of the solutions I came up with when I did this for my project and I hope these can lead you guys in the right direction as well! Have a good day! :blush:

6 Likes