Blender To Unity help

OK i import whole blender file to unity ofc delete camera and light, so i have working mesh but animation dosent work, and its simple handle going up down. When i select my imported 3d model in unity in inspector >animations it shows that it has animation clip and i can play it in inspector and it works totally normal.

Now my problem when i go in my game window and create Gameobject with 3dmesh of my 3d model and i add animation(and select the animationClip) it does not work, it gives me this errors

The AnimationClip ‘handlAnimation’ used by the Animation component ‘Handle’ must be marked as Legacy.
and
Default clip could not be found in attached animations list.

So i googled it and i figured out i can change on my inport file Rig from generic to legacy

Now my animation plays but it first changes position like it moves -x 5 then does what it has to and steys there, in animation in blender i dident to that, in blender it only rotates up down like handle/swich shoud…

Do blender imports work proper or do i have to export to FBX?

I normally only use the fbx export and import the fbx file.
normally everything works fine.
do you have several actions ib your blender file? Maybe your set up in the scene is messed up. That can happen fast.

nah i just made a handle in blender and i set its postion to 0.0.0 i applyed location rotation scale evrything is set to normal. even in unity in animation clip it shows normal but when i start game on animation play it moves -5x for unknown reason…

its just a handle that rotates 60 and B thats whole animation

Hi LearningNot,

setting up generic animations can be quite troublesome if you don’t know how to start. I’ve recently made a somewhat lengthy post about generic animations and how I got them to work in another thread about preparing blender models. I think it might help you as well.

my model dosent have bones, its just a cilider that rotates

than you should use an armature and reexport, because this how it is supposed to be :wink:

1 Like

will try dident know that for somthing this simple i need a armature like its a character

REPORTING BACK status still fail

i added bone to my handle dident help at all

here is my blend file if somone intrested to help

On inported object i tryed swiching to legacy too dident help

I found a fix around for my problem i fugured out it moves on animation play to 0 0 0 position on scene so i just add it to be a child of other object to it moves to 0 0 0 of the parent , only bad thing is i have to play at least 1 time animation so it takes normal position