Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Johnny_Yonder on November 12, 2013, 11:57:40 PM

Title: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
Post by: Johnny_Yonder on November 12, 2013, 11:57:40 PM
Hello,
just updated to Unity 4.3 and the Playmaker menu is not there anymore so I can't use the bug report tool.

I get this error, preventing me to build the game:
Assets/PlayMaker Animator/Actions/GetAnimatorIsControlled.cs(87,56): error CS0619: `UnityEngine.Animator.IsControlled(UnityEngine.Transform)' is obsolete: `use mask and layers to control subset of transfroms in a skeleton'

Is there anything I can do on my end?
Thanks
Title: Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
Post by: Alex Chouls on November 13, 2013, 11:16:44 AM
Obsolete warnings shouldn't prevent builds. The highlighted functionality should still work, but the warning is letting you know that it might be removed in a future version of Unity. We'll fix any obsolete warnings in the next update. In the meantime if you're not using that action you can delete it from your project.

Are there any other errors in the console? Any errors can stop Unity from compiling editor scripts (not just Playmaker).
Title: Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
Post by: SteveB on November 13, 2013, 10:49:37 PM
That's the only one Alex, and it's an Error not a Warning, so I had to delete it.

-Steve
Title: Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
Post by: Johnny_Yonder on November 14, 2013, 12:19:38 AM
Yes Alex, just like SteveB said. As unlikely as it sounds it really is an error (red), not an assert (yellow)... and everything is just fine when I delete the script file, since I'm not using it for now.

It fixes my problem for now, but yeah someone might want to look into it...

Thanks for the quick reply, Playmaker rocks :)
Title: Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
Post by: taforyou on December 25, 2013, 10:10:22 PM
Confirm !! i had same error like SteveB said.  :'(
Title: Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
Post by: Alex Chouls on December 25, 2013, 11:00:10 PM
I believe this was fixed with the 4.3 update for the animator actions add-on:
https://hutonggames.fogbugz.com/default.asp?W1031
Title: Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
Post by: jeanfabre on December 27, 2013, 05:34:41 AM
Hi,

 It's actually an obsolete function, and not anymore part of the Animator api. So make sure you delete that action if it's still there ( especially when updating an existing project).

Bye,

 JEan