playMaker

Author Topic: GetAnimatorIsControlled.cs Issue[SOLVED]  (Read 1884 times)

Magris

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
GetAnimatorIsControlled.cs Issue[SOLVED]
« 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


and i saw this page

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

is it package problem?
« Last Edit: January 08, 2015, 12:41:57 AM by jeanfabre »

escpodgames

  • Hero Member
  • *****
  • Posts: 677
    • View Profile
    • Assets
Re: GetAnimatorIsControlled.cs Issue
« Reply #1 on: December 20, 2014, 04:56:23 AM »
Bump, just got the same :(

mdotstrange

  • Hero Member
  • *****
  • Posts: 549
    • View Profile
    • Can't code? Who cares! Make games anyway!
Re: GetAnimatorIsControlled.cs Issue
« Reply #2 on: December 21, 2014, 07:09:22 AM »
I got the same error- deleted that action and the error goes away
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13512
  • Official Playmaker Support
    • View Profile
Re: GetAnimatorIsControlled.cs Issue
« Reply #3 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13512
  • Official Playmaker Support
    • View Profile
Re: GetAnimatorIsControlled.cs Issue[SOLVED]
« Reply #4 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

xunxun

  • Junior Playmaker
  • **
  • Posts: 53
    • View Profile
Re: GetAnimatorIsControlled.cs Issue[SOLVED]
« Reply #5 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).'

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13512
  • Official Playmaker Support
    • View Profile
Re: GetAnimatorIsControlled.cs Issue[SOLVED]
« Reply #6 on: March 05, 2015, 07:26:02 AM »
Hi,

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

 Bye,

 Jean