- Home /
The question is answered, right answer was accepted
Animation not working Unity 5
So I upgraded my project to unity 5 but now ALL animations on the project just don't work !!! whats the problem
Every thing was working fine before upgrading to unity 5
I havent updated to Unity 5 yet, but i was viewing videos Unity recently posted on youtube. maybe this one will help ya out
Answer by screenname_taken · Mar 10, 2015 at 10:11 AM
My issue was with the "Apply root motion" tick box. Also, make sure that the animated objects don't have a tick in the "Batching Static" tick box.
That was it! Somehow I had some of my prefabs set to Static, and it seems in Unity Static objects don't animate.
Apply Root $$anonymous$$otion (in the Animator component) should be unchecked in Unity5. Even if it was checked in Unity4x.
Don't having a tick in "Apply root motion" tick box solved my problem too.
Thanks!
Thank you so much. 'Apply root motion' worked for me.
Thanks mate, it was batching static for me. Strangely enough, it worked on PC build before, only the switch to Android platform broke it.
Answer by PedroGV · Mar 06, 2015 at 08:10 PM
Same issue. Instead of removing I just reset the component and worked again fine.
hey thanks for the tip! did the same think as you and now everything works fine. thanks again!
Answer by kineticabstract · Mar 05, 2015 at 02:13 PM
I had the same issue on some of my animations. Removing and re-adding the animator fixed the problem.
"I had the same issue on some of my animations. Removing and re-adding the animator fixed the problem."
Worked for me, for an in-game generated Animation component. Apparently, creating it and adding it to a GameObject before the GameObject is visible (or something else odd like that) caused the Animation component to just not function.
Recreating the Animation component, with the same properties, then caused it to work again. (note that this is with the pretty-much-latest version of Unity 5, so it's had this issue for a while, apparently)
Answer by davoeordie · Mar 04, 2015 at 04:47 PM
I ended up having to replace all of my Animator components.
Answer by $$anonymous$$ · Oct 09, 2015 at 11:39 PM
I ended up having to delete my whole project. That and none of the scripts work anymore. I tried to change them to "the current C#" requirements and it all comes back with errors. And the so called "suggestions" that it gives don't work worth squat.
Removing and re-adding the animator dont work for me. I can apparently only have one animation working that isn't called from a script which is frankly stupid and yes this is unity 5.