Post images of your hierarchie and your animators. What i understand is, that you control your weapon animation through the character animator. Which is the wrong approach. The weapon animation shound be independend from the character animator and the weapon should have its own animator.
I made my shooting animation in 3ds max it shoots and that little part in the left side that throws empty bullet shells moves back in the animation and in Unity's preview same animation plays and when I put the prefab on the scene and put a animator for it plays the same animation but when I use it in my characters mecanim…
If anyone else has the same problem I think it is becouse of differance in hiarachy in 3ds max becouse in my main animation that little part is not able to move but in my animation it is
This is the character that I mentioned before (first photo). By the way rifleholding is an empty object in the scene models are attached to it. In the third photo you can see the prefabs that inludes animations insde them I use thier animations for my character character is AkmDraw in there.