Unity’s generic rig is great for characters that do not conform to the humanoid skeleton structure, and also has its own dedicated animations.
Using root motion in Unity can be finicky and sometimes it is difficult to find what is causing the issue in your character. Here are some some guidelines to setting up your character with the generic rig to use animation that works for the most part. I am currently using Unity 2021.3.19f1.