playMaker

Author Topic: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3  (Read 4007 times)

Johnny_Yonder

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
« on: November 12, 2013, 09: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

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3615
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
« Reply #1 on: November 13, 2013, 09: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).

SteveB

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
« Reply #2 on: November 13, 2013, 08:49:37 PM »
That's the only one Alex, and it's an Error not a Warning, so I had to delete it.

-Steve

Johnny_Yonder

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
« Reply #3 on: November 13, 2013, 10:19:38 PM »
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 :)

taforyou

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
« Reply #4 on: December 25, 2013, 08:10:22 PM »
Confirm !! i had same error like SteveB said.  :'(

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3615
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
« Reply #5 on: December 25, 2013, 09: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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14198
  • Official Playmaker Support
    • View Profile
Re: GetAnimatorIsControlled.cs obsolete with update to Unity 4.3
« Reply #6 on: December 27, 2013, 03: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