What is happening to my animated player rig when I import it?

Ive been running in to a problem while trying to make a game, I import my model from blender (Its rigged and animated walking) and it looks fine in its default position, but when I put the animation on it, or try to use the animation, it warps the head in a weird way.

Model While its Walking in blender:

Model Reset position in Blender:

Model walking in unity:
image

Model reset position in unity:
image

If anyone could help, it would be greatly appreciated, I’ve been working at it for 2 hours, and I don’t even know what to troubleshoot due to the lack of posts about it online.

You might have more bones per vertext than your settings allow maybe?

changing the bones per vertex warps the back of the neck a little, but its still wonky

Select a vertex in blender and see how many bone groups are affecting it.

There is around 3 or four on the body vertexes, and most of the head ones have like 15-8

You might want to make sure your import settings and graphics quality settings have weights to unlimited. Or better control your weights to like 8 max using “limit total” in blender.

unity has settings for a max of 4, but unlimited works fine.

Thanks for the help, but I might just need to deal with it until can get back to it and figure it out.