Unity forgets to update mesh when moving bones?

Hi! I’m using Unity 4 and there is something strange. I’m moving the bones of a simple model thru a script, but at first the mesh doesn’t seem to be binded to the skeleton, and then suddenly the mesh starts moving with the bones correctly. From that moment everything works just fine with all the limbs. Here is a video of the problem:

If I move the bones in the editor it always works right. Am I missing something that I should tell Unity in order to update the mesh from the beginning?

Oh, the problem was an empty (or static) animation :stuck_out_tongue:

EDIT: Is my idea or Unity 4 is by default adding empty animations to models that don’t have animations? I know I can disable that on import, but is a little annoying.

No, Unity isn’t adding anything. It’s the exporter of the modeling program you’re using. For instance, Blender’s default FBX exporter always exports an animation even if the object isn’t animated.

Thank you Loius for the clarification.