- Home /
Duplicate Question
Animation not playing?
Hi! I've got a simple animation created with Unity and the script, which it plays. But I don't know why my animation not working. It isn't playing, even when I turn "Play Automatically" (in animation window there's no problem"). My animation is marked as Legacy and I've got the Animation and Animator components attached to my gameObject. Can you help me?
[EDIT]: I'm not sure that it is not playing... I think it can be like this: I'm make and save my animation, then I close the animation window and mark anim as legacy, and in this case the anim reset to standard, clear anim...
edit: Ok. I see that it's an issue, bug of Unity. It's on issue tracker (Can't animate material.color properties).
You have to give some more detail. Because after reading detail everything looking good!!!
why are you using both animator and animation components? in which have you created the animation?