How to preload animation to prevent animation from bugging at first?

I made an equip/unequip animation. The equip animation works fine, but when you first unequip the gun, the animation twitches. After that, once you unequip the gun, the unequip animation is fine and doesn’t twitch. When you first unequip the gun, why does the unequip animation twitch? Is it just a loading problem? I’m assuming it is because after you unequip the gun after the animation is played at first, it works fine.

Here’s what it looks like: https://gyazo.com/a46140f0a2c9a940975453a11125dcdc - See how the arm rotates/twitches at first?

When you first play the animation, it loads then. There isn’t really a way to preload the animation, you may be able to play it and instantly cancel it when first adding the gun? This way nothing happens visually but it loads, worth a try.

Sounds like a great idea, let me try that.

Well it doesn’t work, can I just put an animation variable and change the animation ID whenever there’s an unequip/equip/fire/reload/etc?

I found what the problem was! It was that I was putting load animation in the equip function, I should’ve put it outside. Well I found the solution to my own problem, thanks for trying to help though.