Failed to load animation with sanitized ID

Im trying to do some simple animation of an object changing colour,

but when i try and activate it with script and run the game, all im getting is…

“Failed to load animation with sanitized ID rbxassetid://18540997043: AnimationClip loaded is not valid.”

any help?

Failed to load animation with sanitized ID occurs when you try to use an animation that is not owned by you, more specifically, if you try to use an animation that does not belong to/was not published by the person who created the game/group for which the game is under.

its my game, uploaded by me, its me that is using it, game is not a team create or a group game

1 Like

It can also mean that the animation ID failed to load, or that you have mistyped the ID. If the former, try using ContentProvider:PreloadAsyc() to load in animations before being used.

i tried this and got the same thing

i’m having the same issue i have found no solutions

Do you own the animation under your profile, or is it under someone else?

i dont own it but i published it under the group im working on with my friend. he even tried uploading it himself to the group but it still didnt work

The problem is probably that you are just publishing the game instead of publishing the animations.

If you dont know how here is how you do it.

1.Go to the animation editor and select your rig where your animation is.

2.Click the 3 dots in the animation editor and go to “Publish to Roblox”.

3.Click “Publish to Roblox” name your animation and save it


4.Now you have your animation uploaded to Roblox and ready to be used!

1 Like

I have the issue too, sometime animations can be loaded successfuly, just like it’s random,

Try to re-upload animations use the group owner account,