Search Unity

LocalRotation missing after importing animation clip to new Unity version

Discussion in 'Animation' started by Manimor, Jun 19, 2016.

  1. Manimor

    Manimor

    Joined:
    Sep 7, 2013
    Posts:
    21
    Hi,

    I'm trying to export an animation clip with its model into another version of unity, but there's a problem that might be a bug. In the animator I'm getting "Local Rotation (Missing)". When I highlight the bone in the editor, it finds it in the hiearchy, so it finds the bone itself, but it says Local rotation is missing.

    I tried to export the animation clip and the model as a package but I still get the same error.
    It should work but it dont, any suggestions?
    Thanks

    StrangeProblem.png

    edit: The rotation animation do work if I export the model with the package, but not if I export the same model to both unity versions, and then apply the .anim on the 5.0 version model.
    It still says localPosition missing though. The model with the package is scaled up, so I rather use the imported one

    edit2: Found the problem, first model was generic, the other was humanoid

    edit3: Seems it works on generic, but not on humanoid, fml ;(

    edit4: So it seems there is no boneRotation or bones for that matter when you are in humanoid mode, so therefore the rotation have no effect.

    Any advice on how to convert the bonerotation to humanoid animation?
     
    Last edited: Jun 19, 2016