I've been exporting animations from Blender to Unity for a while and I've never had any problems so far. Recently, I tried Mixamo, a free library of animations which uses a specific armature system. The auto rigger they have isn't very good, so I decided to download a model with their own armature in order to use those bones as a base for a better rigging.
The issue comes when I'm finished rigging the mesh and I export it along the armature in an FBX file. Blender adds the armature object itself as a Node in the hierarchy which, seems to break everything. I'm not using custom animations, but instead Mixamo's animations with a different skinned mesh. Therefore, I need the same hierarchy of nodes(as well as the same names) in the armature tree.
The exported custom object is marked in red and Mixamo's model in green. As it can be seen in the picture, the yellow arrow shows the extra armature node (which is the armature object in the Blender scene).
Does anyone knows a way to avoid this addition ?
Disabling leaf bones as seen here : FBX export adding extra bone doesn't seem to solve the problem either. I've also seen a few posts with a similar issue but happening with Unreal Engine, but I couldn't find anything that helped me.