How to use attack & dodge animations without root motion

You can try to enable “Force Root Lock” inside your animation sequence. It will force the root bone to be in one place. Leave the root motion enabled.