>>715161965
It all really depends on what system you're using to move the character. Newer version of unity has a builtin package that handles movement input, and from what I remember it uses the rigidbody to move objects.
But as >>715160949 pointed out you can get past the issues by locking the xyz rotation of the object on the rigidbody component (if you don't plan on the object rotating).