how to export animated .fbx to unity from blender

I wanted to make the 3d model low poly so i exported the model to blender and added a modifier decimate to it saved the blend file and exported the fbx file to unity assets folder but there is not animation data now.i have checked the default take option in blender while i exported the .fbx so i get the file in unity but with a message “clip range is outside the range of the source take”.what does this mean how should i export the model from blender with the animation file.i am using blender 2.7 .

i have tried changing the name of the default take to my animation file name,i have changed the rig to legacy but no use.

IIRC the Default Take option just grabs all the un-muted animations from the NLA Editor and creates an additional animation, while the “clip range is outside the range of the source take” corresponds to the Timeline set, meaning that if you have an animation of 30 frames but if the Timeline is set to 20, you’ll get this warning message.

So, the problem concerns directly to the animation and/or the decimate you’re applying, try exporting without that modifier to check if that’s what’s causing the problem.

Advice: Update to 2.71 as the FBX exporter is daily updated, and/or go to Blender Builds - blender.org to download the latest Blender version, grab the “.\scripts\addons” folder from it and replace yours in the currently running Blender folder on your PC.