Animations are broken on :Cloned() NPC models

Recent Roblox updates lead to these issues which started approximately 2+ weeks ago

Notice the difference in legs:

I’ve tried many different ways to resolve the issue. Currently the code running these animations is a Script with RunContext set to Client. Everything used to work perfectly fine before Roblox updates.

3 Likes

More details: I’ve tried running workspace NPC animations locally through client using localscript in PlayerScripts. The same issue persists when the NPC is in fact :Cloned() from ServerStorage to Workspace. This issue does not happen if NPC already exists in the Workspace, in other words was not created using :Clone().
I’ve found “Solution” which doesn’t fix this bug: I’ve replaced two animations which I’ve been using with other ones, the issue is now gone. The bugged animations I’ve been using were from Roblox Realistic animations package.
AnimationIds: rbxassetid://507766666 and rbxassetid://507766388

It’s really odd, because replacing those with other Roblox created animations fixed the issue for me, however I will end up making my own Idle animations now.

Update: I’ve also tried importing and saving those Roblox animations as new assets, tried removing additional unneeded parameters such as chin, eyes, and similar stuff. Even tried making a new animation and copy pasting Roblox Realistic animation keyframes onto a fresh empty animation template then saving it. None of these ways worked and the issue still persists specifically with those 2 AnimationIds keyframes.
Another thing to note is that ModelStreamingMode might be somehow slightly affecting this (?). The first screenshot in my post with badly deformed NPCs happens when ModelStreamingMode is set to Default and when it is set to Nonatomic the deformations are less severe and slightly less frequent.

Nevermind the previous comment, all animations breaks whether it is made by Roblox or not. When an NPC is :cloned() either by client or server, the animations on that NPC break.

Edit: After hundreds of tests, I’ve found out that default Rig breaks too, it doesn’t matter whether I use NPC from my game, or create a new Rig.

Hmm… I haven’t experienced this issue. But then again, my NPCs are R6.

It happens randomly but very frequently, I’d say 2/5 times it will happen, and so far it happens with any Rig.

Have you tried using other NPC models?

Yes, like I said, I’ve used default R15 Rig, it still happens.



1 Like

That’s very strange… do R6 work?

Also are you loading the animations AFTER you clone the npc to workspace on the npc’s humanoid?

I’ve been testing only R15 Roblox made animations. I’ll need to grab an R6 animation to find out.

Yes, definitely, if I wouldn’t be doing that then bugged animation wouldn’t be playing at all. Also I’m not loading animations on Humanoid but instead on his Animator object. I’ve tried both ways though, I used to load it on Humanoid just 2 days ago, and switching to Animator didn’t solve the issue.

Let me hop on studio and try (character limit)

robloxapp-20241203-1623461.wmv (1.0 MB)
robloxapp-20241203-1623365.wmv (575.3 KB)
This is like an RNG, one time it may bug, the other time it may play perfectly well. But this happens very frequently, almost every NPC is affected.

R6 animations work for me, I’m also cloning from ServerStorage

Well I need R15 either way, and I’m cloning from ServerStorage as well.

Let me try out R15 then, also are you getting any errors?

No errors at all, non in Studio, none in game, none on server.

BuggedAnims.rbxl (138.6 KB)

You can try it yourself. I get the bug to happen at least once in 5 Studio Play tries.

R15 animations worked in my game. Let me try yours

Can you share the code for playing the animation here?