- Home /
Question by
ItsMFTeaTime · Jan 26, 2021 at 07:57 PM ·
animationbuganimation script
Stuck animation bug
I've been working on a shooter game and came across a weird animation bug that i cant fix. When i run out of bullets in my gun, the gun goes to a "no ammo" state with an animation. When i pick up ammo from the ground, the gun goes back to its "idle" state and it works fine. But if i run out of bullets and the gun is in it's "no ammo" state and then switch to a different gun and then back to the first gun, the gun gets stuck in it's "no ammo" state.
I would really appreciate some help solving this bug.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613024036im_/https://answers.unity.com/themes/thub/images/avi.jpg)