playMaker

Author Topic: SetAnimatorBool in Unity 4.3.1 - random lag  (Read 3099 times)

Kubold

  • Full Member
  • ***
  • Posts: 112
SetAnimatorBool in Unity 4.3.1 - random lag
« on: December 12, 2013, 03:17:40 AM »
Hey!

After upgrading to Unity 4.3.1, my Playmaker-Mecanim setup, that worked ok in Unity 4.2, behaves strangely and it's really buggy. I just use SetAnimatorBool Action in it, nothing more. To put it simple - when I press a button, it changes the Bool, and Mecanim animation should blend to another. In Unity 4.3.1, it happens with a slight lag, right away, or sometimes nothing happens - randomly.

I don't know if that helps, but I did a little test - if I Set Animator Bool to true and then set it to false in one action, Mecanim doesn't even register that (so I guess there is a delay in sending the bool value to Mecanim, but I don't know how big. One Update cycle? Should there be a delay like that?).

I know Unity made changes in Mecanim in Unity 4.3, and Jean's Animator Actions package is no longer working properly.

Question is: is it ALL actions in that package that work bad, or just some? I need to know if SetAnimatorBool Action is still good and I should look for an error in my Mecanim tree, or should I revert to 4.2? Or maybe wait for new Playmaker Aniamtor package?

Kuba

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: SetAnimatorBool in Unity 4.3.1 - random lag
« Reply #1 on: December 12, 2013, 06:07:18 AM »
Hi,

 you should wait for the new package, the current pacakge is not compatible with Unity 4.3, a lot has changed and a complete revamp and retesting for every action is required...

 This is my very next task. I guess it will be for xmas basically.

bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: SetAnimatorBool in Unity 4.3.1 - random lag
« Reply #2 on: December 19, 2013, 12:56:39 PM »
Hi,

 Latest Mecanim support is now available:

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

SetAnimatorBool hasn't changed, so I suspect your problem is in editor performances, not in mecanim itself.

bye,

 Jean