Using .AnimationId = rbxassetid:hasn’t yielded any results.
I’ve also tried this function.
Running this command will show that there’s no results that can be returned pre-runtime… Something’s happening during runtime.
local assetIDs = {716556492, 619535091}
local ancestor = game --[[ or game.Selection:Get()[1] -- you can use this for manual selections if you want ]]
local function checkPropertiesForID(instance, property)
local ItemID = string.match(instance[property], "%d+")
local found_id = table.find(assetIDs, ItemID)
return found_id
end
for _, d in pairs(ancestor:GetDescendants()) do
if not d:IsA("Animation") then continue end
local found_id = checkPropertiesForID(d, "AnimationId")
if not found_id then continue end
warn(d, found_id)
end
I have seen the same error happen with my very own animation. It’s an unusual one and seems to be device-dependent. For example, on my computer the animation plays correctly, but on my friend’s pc it doesn’t work, giving this error.
My theory is that it has something to do with Phase 3 of the Animation Runtime Update. Where it removes all legacy code and forces all games to run the latest animation engine. Not sure though.
Tried it in a live-server, on the server’s perspective; made no difference.
local assetIDs = {091970923, 716556492, 9210171885, 922018198, 0967046431}
local ancestor = game
local function checkPropertiesForID(instance, property)
local ItemID = string.match(instance[property], "%d+")
local found_id = table.find(assetIDs, ItemID)
return found_id
end
for _, d in pairs(ancestor:GetDescendants()) do
if not d:IsA("Animation") then continue end
local found_id = checkPropertiesForID(d, "AnimationId")
if not found_id then continue end
warn(d, found_id)
end
Using CTRL+SHIFT+F to do a global script search also brought up nothing.
I’ve been experiencing this and it’s tragically breaking a lot of weapons and NPCs in my game (they rely on keyframe events which aren’t loading cuz the anim is broken!)
Yeah super weird, It’s happening to my game as well now. I would definitely transfer this topic to #bug-reports:studio-bugs—that way it’s reported as a bug and not for scripting help.
Roblox prevents you from running animations you don’t own in Roblox Studio (for security reasons). It will work normally in game as you said. (And yes even if the animation is public, you still won’t be able to run it in studio)
When roblox gives an id error to the output log, it changes the id in some way so it’s different. so if your animation id was 14534506851 then the output log says 4534506851 (Idk why or how it changes the id but it seems to just delete the “1” in front). The error is still related to the animation you’re talking about.
This is not why this error is appearing. If I didn’t own the animation, it would simply say “Failed to load animation”, without the “sanitized ID” part. This sanitized ID error has also recently been happening to assets other than animations (namely skyboxes).
this seems to be recent issue. im experiencing the same thing but only now. another thing i have noticed is that if you publish your animation, even under your name, it doesn’t show up on your profile’s inventory.