My animations for a entity with a skeleton aren't working, help!

I have a sonic game I am making and I have an animation with the sonic template it works with the animation tester but when I try it out of the animation tester it doesn’t work. My game is linked here The scene is main game.

You can’t use the Legacy Animation Component with the Render/Import Hierarchy workflow. You should use the Anim Component with anim state graphs instead.

Check the following tutorials and docs:

Thx again, @yaustar