Extra bones mess up with humanoid animations

So I have a bunch of animations for a character that I need to be a humanoid (to use IK). The rig is a pretty standard except there is an extra bone for the gun he carries. All the animations look fine in Blender, but when I import them to Unity things screw up. Everything animates fine except the gun bone. Also, when I switch my character back to generic animation, everything looks as it should.

Thanks for any help.

Humanoid is required for built in IK - however there are several alternate options to use a simpler generic rig with IK solutions from the asset store. Might consider that as an alternate approach if a cumbersome solution is the only option for dealing with humanoid.