Tried on a blank project and there was no error, I wonder how I am causing it
edit: checked the code and the actions were different. I guess I had some old animator actions or something, copied them over from the working project and errors were fixed