Playmaker Forum

Playmaker Help & Tips => Playmaker Help => Topic started by: Magris on December 18, 2014, 12:51:46 PM

Title: GetAnimatorIsControlled.cs Issue[SOLVED]
Post by: Magris on December 18, 2014, 12:51:46 PM
Assets/PlayMaker Animator/Actions/GetAnimatorIsControlled.cs(94,56): error CS0619: `UnityEngine.Animator.IsControlled(UnityEngine.Transform)' is obsolete: `use mask and layers to control subset of transfroms in a skeleton'

I saw this message

what can i do? T.T


unity 4.6.1f1


i want to controll animator with playmaker

help me

i downloaded at this page
https://hutonggames.fogbugz.com/default.asp?W1031
 (https://hutonggames.fogbugz.com/default.asp?W1031)

and i saw this page

http://hutonggames.com/playmakerforum/index.php?topic=8952.0 (http://hutonggames.com/playmakerforum/index.php?topic=8952.0)

is it package problem?
Title: Re: GetAnimatorIsControlled.cs Issue
Post by: escpodgames on December 20, 2014, 04:56:23 AM
Bump, just got the same :(
Title: Re: GetAnimatorIsControlled.cs Issue
Post by: mdotstrange on December 21, 2014, 07:09:22 AM
I got the same error- deleted that action and the error goes away
Title: Re: GetAnimatorIsControlled.cs Issue
Post by: jeanfabre on December 22, 2014, 01:42:50 AM
Hi,

 Yes, simply delete that file, it's an obsolete action, because Mecanim has rendered this method obsolete. As the error is mentionning, you need to now use masks and layers to deal with this.


Bye,

 Jean
Title: Re: GetAnimatorIsControlled.cs Issue[SOLVED]
Post by: jeanfabre on January 08, 2015, 12:43:01 AM
Hi,

 The new package on the wiki will handle this obsolete action better. Simply redownload and install, the error will disappear.

https://hutonggames.fogbugz.com/default.asp?W1031

Bye,

 Jean
Title: Re: GetAnimatorIsControlled.cs Issue[SOLVED]
Post by: xunxun on March 05, 2015, 06:39:10 AM
I downloaded en update the package but that error still appear.
After deleted the "GetAnimatorIsControlled.cs"

Unity 5.0.0

===
Assets/PlayMaker Animator/Actions/SetAnimatorCullingMode.cs(62,123): error CS0619: `UnityEngine.AnimatorCullingMode.BasedOnRenderers' is obsolete: `Enum member AnimatorCullingMode.BasedOnRenderers has been deprecated. Use AnimatorCullingMode.CullUpdateTransforms instead (UnityUpgradable).'
Title: Re: GetAnimatorIsControlled.cs Issue[SOLVED]
Post by: jeanfabre on March 05, 2015, 07:26:02 AM
Hi,

 yes, I'll update this package beginning of next week. Stay tuned!

 Bye,

 Jean