Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: gsmetzer on May 27, 2014, 09:53:50 PM

Title: 'Set Animation Time' appears to be broken. [SOLVED]
Post by: gsmetzer on May 27, 2014, 09:53:50 PM
I am attempting to drive an animations time with my own variable but the action doesn't seem to do anything.   Can anyone confirm this?
Title: Re: 'Set Animation Time' appears to be broken.
Post by: gsmetzer on May 28, 2014, 05:45:07 PM
More info here:

When I have Every Frame enabled I get this red warning:
 "The animation state _____ could not be played because it couldn't be found!
Please attach an animation clip with the name '____' or call this function only for existing animations."
I have an animation component with my animation clip attached so not sure what has happened here.
Thanks for your thoughts in advance!
Title: Re: 'Set Animation Time' appears to be broken.
Post by: Alex Chouls on May 28, 2014, 07:35:28 PM
I just did a quick test here and everything seems to be working fine...

That error is a Unity error (not generated by Playmaker) so my guess is the animation name is wrong...?

Can you post a screenshot of your setup?
Title: Re: 'Set Animation Time' appears to be broken.
Post by: gsmetzer on May 30, 2014, 01:24:32 AM
I can't seem to get any of the animation actions to effect an animation.  Im continually getting "missing animation:'Myanimationname'" in yellow at bottom left.  Here is a screen shot.  I am using the new Unity 4.5.   
Im also getting a "animation component must be marked as Legacy" in yellow as well.
Title: Re: 'Set Animation Time' appears to be broken. (SOLVED)
Post by: gsmetzer on May 30, 2014, 01:35:17 AM
I figured it out!   I just had to set my animation to legacy by following this forum post.  http://answers.unity3d.com/questions/577801/animation-must-be-marked-as-legacy.html
Everything works great now!