Search Unity

Blender to Unity animation problem/glitch?

Discussion in 'Animation' started by BionicSloth, Aug 6, 2014.

  1. BionicSloth

    BionicSloth

    Joined:
    Aug 5, 2014
    Posts:
    3
    Hello!
    Im fairly new to unity but I know my way around the basics. I've been experiencing troubles with the Blender to Unity animation. The animation in Blender looks fine, but when I import it to Unity and check out the preview, the models back area goes all weird and wonky (lol). Anyways I'm really not to sure what to do at this point. I'm not sure if this is a glitch or if I'm (most probably) doing something wrong. Any help is appreciated, and below should be a link to a video a took to demonstrate what happens :)
     
  2. OllyNicholson

    OllyNicholson

    Unity Technologies

    Joined:
    Jun 17, 2011
    Posts:
    142
    Woah - that looks fairly broken! It is hard to see the hierarchy of your skeleton and the set up of the rig in Unity, suffice to say the general workflow should be:

    Export FBX > Verify (try FBX viewer) > Import into Unity > Select the model in Project View > Inspector > Rig tab > Generic > Apply

    Then your animated model can be controlled with the mecanim animation system. If the animation clips have the same problem you may need to examine your hierarchy and follow some guidelines from the tutorials:

    http://unity3d.com/learn/tutorials/modules/beginner/animation
    http://docs.unity3d.com/Manual/MecanimAnimationSystem.html
    http://docs.unity3d.com/Manual/HOWTO-exportFBX.html

    Good luck, hope this helps solve your issue - if you still get corrupted animation / bone rotation errors with your animations, please submit a bug, steps and post the ref number here. (Unity > Help > Report a bug)
     
  3. BionicSloth

    BionicSloth

    Joined:
    Aug 5, 2014
    Posts:
    3
    I've changed the rigging to generic and the animation clips have the same problem. I've tried the steps in the tutorials, but the animation still bugs out.
    Thanks for your reply though OllyNicholson :)
    Hopefully i'll find out what the problem is some day.
     
  4. BionicSloth

    BionicSloth

    Joined:
    Aug 5, 2014
    Posts:
    3
    I was able to solve the problem! There was something going on with the armature. Not all vertices were assigned to bones, so i clicked the automatic armature mode and redid the rigging, which made sure all vertices were assigned to bones :) If anyone has the same problem i hope this helps!
     
    OllyNicholson likes this.