Problems with exporting Blender Models to Unity

Hello, I’m new here, so I’m not sure this is the right place to put this, feel free to move it if it’s in the wrong forum.

I’m pretty new to Unity. I’ve made some 3D models on Blender a while ago, and thought I’d try exporting them into Unity, so I followed a tutorial on Unity Cookie on how to do so.

I’ve come across a problem, I have a model (or a set of models) of a shotgun, and 2 arms (on their own), they’re using different armatures and materials, the hands are just linked from another file, if that makes any difference.

When I put the models into the game, the models themselves came out okay, and so did the textures, but the animations are completely messed up! I was aware that you have to scale it to 1 on unity to make the animations work properly, did that, problem still persists.

So what is it I’m doing wrong? Is there anyway to fix this problem?

what is messed up about the animation? are the bones working and just not parented to the mesh with the right transforms? if the objects have separate armatures you export them as separate objects right, and then just parent the objects (with the bones attached) together in Unity? so you would export the shotgun, one arm, and then the other arm…each combined with its armature. then in Unity parent them together. are you clearing the mesh transforms and bone transforms before you animate? It could be an issue with keyed transform properties and importing in Unity. Some details about what the animations are doing wrong would help. I’m guessing your issue has to do with transforms in blender before you export. Make sure before you animate you clear transforms with CTRL-A while having the object selected. Having your mesh object at 0,0,0 and your bones at location 1,3,2 (or something) when you start animating may work fine in Blender, but upon exporting this can cause issues. Sorry I can’t be more specific, but it’s been awhile and if the transforms are the issue then do a little trial and error with a simple object and animation.

I exported all of the models separately like you said, and they work now, just not together, how would I parent them?

Also, I have the same arm models linked to other gun files, each with different animation, is there anyway to put all of the animations into the one model, and make it switch parent?

Also, one the arm in the shotgun file has an IK on it, is there anyway to turn that off or put the influence down if I were to change weapon?