Bones move mesh in editor but not in run??

Hi I want to animate bones using scripting to animate a mesh.

I have made a robot arm in Blender and rigged it and skinned it, and tested a Blender armature animation in Unity and it worked perfectly.

Now I have the same robot arm with skinned bones, but with only a pincer animation (I removed the other animation). I want to animate the rest using scripts to make it more interactive. But The bones appear to move the mesh in the editor view (manually) , but when I switch to player view the mesh hasn't moved at all. They are back in their original position.

Why won't my bones move the mesh at runtime?

I think I found the answer quite a while ago. (I forgot about this question). I just had to adjust. For the animation in Unity I had to set the Animation wrap mode to Loop. And I had to select Play Automatically on the Robot game object.

Also on blender, I had to turn off envelopes on the armature settings and use vertex mode instead.

also check out : http://forum.unity3d.com/threads/40908-FAQ-Getting-skinned-animated-models-from-Blender-to-Unity3D

For some really good information on importing animations to unity from blender.