- Home /
Whever I try to change an Animator value in my script, it becomes incredibly laggy [C#]
I'm working on a 2d Character controller, and I'm working with animations. If I just play the game, it works perfectly fine. If I turn on some of the values in the Animator, it works perfectly fine as well. But, when I try to change some of the animator values in my script, it drops to 2fps. Something is obviously wrong. Any ideas?
Also, the majority of this code can be ignored. I have some custom libraries being called in the code.
Answer by bartleycollin · May 05, 2014 at 04:59 PM
Just wanted to say I discovered the issue. Apply root motion was checked. Don't check that.
Your answer
Follow this Question
Related Questions
2D Animation does not start 1 Answer
How to nest Animation file in an Animation Controller? 1 Answer
Unity Animator Input Lag 0 Answers
Get weird issue when change from Mechanim -> Ragdoll 0 Answers