Blender animation only working in unity preview

Hi,

I’m having significant trouble getting my blender animation to play in unity. It works in the unity editor, the animator controller says it’s playing but there’s no animation in the game. I tried making a simplified blender animation on it’s own scene and am still having issues.

The animation does not have the “legacy” setting ticked.
I’ve tried with and without an avatar. Avatar was generated in unity.
I’ve also tried with and without root motion.
The animation is set to loop.

Pictures are:

  1. animation working in unity editor preview
  2. animation playing in animator window
  3. parent object with animator controller
  4. child object with mesh graphics
  5. Blender export settings.

I’m sure I’m missing something really obvious but after searching multiple forum posts and mimicking Youtube videos it’s still not working.

Any help would be much appreciated.

8764852--1188604--PreviewWorking.PNG

Right. If you’re exporting a blender animation with bones and animations like I am you’ll get a pile of stuff exported in fbx like this:
8770369--1189750--upload_2023-1-31_15-41-50.png

To make the animation work in unity do NOT make your own mesh renderer then apply the “TestShape” mesh, then make an animated controller and apply the avatar etc.

All you need to do is drag the “AnimationTest” part into the scene and make your own animator controller on the “AnimationTest” part. This is how it should look in the inspector:

how does this work when you don’t have an avatar - non avatar animations