Hi,
I have a very very very weird issue right now. I was working on a project for a client and it’s 95% complete and near production. It was all working great and then out of nowhere all of my players/enemies stopped moving from their place. They are just locked in their position for some reason. Everything in the script is working as it should and every aspect is working without errors. The only issue was that players were not moving from their place. When I tried to move them in the scene editor while playing the game, they wouldn’t move from their location. I had no clue what the hell is this. I tried everything. Re-imported the project, Individually tested all the objects, Transferred project files to another computer, Transferred assets to another project, and tried to troubleshoot for hours.
And, in the end, I figured out that the animator was the culprit (this F****r). Sorry for my offensive use of words but you have no idea how frustrating this is and in the midst of a deadline soon and 95 % project completion, this bs happens.
If I disable the Animator, everything works. But if I enable the animator the character stops working. I tried experimenting with it. Added new animations, new controllers, new Animator files, etc. Nothing works. The animator is breaking the entire game. But, then I noticed it’s only affecting the object if it has a rigid body, which obviously my characters have. If I use translate to move the characters instead of velocity, they do move. So I know it’s the animator messing up with rigidbody.
I have no clue why this is happening and how to fix this?
Can someone please help me with this weird issue? If someone faced this before?