playMaker

Author Topic: Animator set Bool action error.  (Read 6069 times)

Vangelis

  • Playmaker Newbie
  • *
  • Posts: 13
  • VR ROCKS!
    • VR applications for the industry!
Animator set Bool action error.
« on: January 31, 2014, 05:37:43 AM »
Hi,
  I am using the Animator set bool action in my application various times and I get this continuous warning on the console.
Parameter 'Hash -601574123' does not exist.
UnityEngine.Animator:SetBool(Int32, Boolean)
 The application does run, but if said action is used many times, the warnings become thousands and they lower my fps considerably.Other than that it works perfectly.
Anyone has any idea on how to fix this?
(I am building a VR application and high fps is critical...)
You can't have time, if you don't make time...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Animator set Bool action error.
« Reply #1 on: January 31, 2014, 07:08:45 AM »
Hi,

 It's because you don't reference the variable properly. Can you double check that the variable name exists really on the animator component setup? capital may be important os respect Upper cases and all.

bye,

 Jean

Vangelis

  • Playmaker Newbie
  • *
  • Posts: 13
  • VR ROCKS!
    • VR applications for the industry!
Re: Animator set Bool action error.
« Reply #2 on: January 31, 2014, 10:25:35 AM »
Hi Jean,
  thanks for your prompt response.I have double checked the variable's name. It's correct.(copy paste correct.)Infact, the action works fine.It's a yellow warning thats overloading the system because it is produced continuously.
  For now I have overcome the problem by using simple global variables and eliminating the uses of the animator set bool action.The yellow warning persists ofcourse but in a smaller number that doesn't completely flood the system.
   It would be nice though to be able to freely use the action.
  Is it only me that has encountered this issue up to now? :-\
You can't have time, if you don't make time...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Animator set Bool action error.
« Reply #3 on: February 03, 2014, 05:15:46 AM »
Hi,

 I think to, I never add this. I will tackle for mecanim stuff this week, so maybe I'll catch a bug I did not spotted until now.

you should not have any warning of these sorts at all.


bye,

 Jean