Upgraded to 5.2 and now getting a Quaternion To Matrix conversion failed error

The full error is Quaternion To Matrix conversion failed because input Quaternion is invalid {-1.#IND00, -1.#IND00, -1.#IND00, -1.#IND00} l=-1.#IND00. In addition, when my character moves his legs disappear. Everything was working well in 5.1.3. Any help would be appreciated.

recreate animationcontrollers

That did it. Thank you very much.