My group’s game is published, but it runs into errors really everywhere, published or unpublished.
We’ve found the cause of this bug - as some here have discovered, the error message was truncating the first number of the asset ID in the message. For some context, this is a relatively new error message that we added because we previously didn’t have a default error message for when animations fail to load. No changes have been made to how animations are loaded; the error message has just been displaying an incorrect asset ID. This issue should now be fixed in Roblox Player/Studio version 595 and later.
I apologize for all the confusion caused by this bug, and thank you for reporting.
Still occurring for me. Trying to play an idle animation from a Roblox animation bundle on an NPC.
Failed to load animation - sanitized ID: rbxassetid://837011741
Strange, I have this issue when I test my animation on studio, It works just fine, but when I test my animation in-game, It just shows the error Failed to load Animation - sanitized ID
.
The bug in the original post seems to be that the asset ID displayed in the error message doesn’t exist in the game - this issue should now be fixed.
This error message as a whole is a new one we added a few weeks ago, whereas in the past, users often wouldn’t have any indication when animations failed to load. If you believe that another recent change on our part has been causing animations to fail to load more often, could you file a separate report? Thank you!
Thanks, what does sanitized ID mean? I think this adds to confusion. What has been sanitized? What does that mean? How does a sanitized ID differ from a ‘normal’ animation ID?
The asset ID is “cleaned up” right before the error message is logged to be more readable and to prevent any sensitive information from accidentally being shown. In most cases, the sanitized ID should be the same as the asset ID. If the asset ID was invalid, an error message may be shown instead or invalid characters may be removed. Sorry for the lack of clarity on this part
Going to give this a try to see if it’s fixed on my part
rbxassetid://0
does look strange. Would you happen to have a place file or code snippet to reproduce this on? I’d appreciate if you could upload one or send through private message. Thanks!
same here
Pretty sure this isnt a bug anymore. It used to show you just “Failed to load animation”, which wasnt very helpful, and now its replaced with that error message so you know which animation isnt loading.
that doesn’t really explain why the animation isn’t loading though
Yeah I’m experiencing the same issue.
When I put just a number of animationId into the field in properties it transforms to rbxassetid://11444443576 which leads to “Failed to load Animation - sanitized ID” error. But after I manually change the ID to http://www.roblox.com/asset/?id=xxx it starts working.
My bad, this solution doesn’t work with animations from marketplace. For this reason, you need to download animation into the Studio and take actual animation id.
Execute this script in the studio:
local assetId = 5917570207
local InsertService = game:GetService("InsertService")
local model = InsertService:LoadAsset(assetId)
model.Parent = workspace
Still experiencing issues in my game where animations fail to load. Lots of mechanics in my game rely on the KeyframeReached event, which can’t fire if you don’t load the animation for me. Any news on this problem??
Has this Issue been fix for anyone, because I am still experiencing the same thing where the animations fail to load. This is a major Issue for me as my game mostly depends on animations, for it to look good.
not working. i keep getting " Asset is not trusted for this place "