playMaker

Author Topic: Used variable showing as not used?  (Read 1172 times)

ToxicFrog

  • Beta Group
  • Full Member
  • *
  • Posts: 139
Used variable showing as not used?
« on: February 23, 2021, 12:15:44 PM »
Hi Playmakers,

I've updated to the latest Playmaker, and I'm seeing a strange behavior that I didn't see before:

I have a GameObject variable ('_GhostHand _GO') that is used in the FSM. While debugging, I go to the Variables tab to find all the actions that reference this GameObject. Right-clicking brings up 'No states use this variable...', when it is clearly used in several states in the FSM.

Please advise - thanks!

ToxicFrog

  • Beta Group
  • Full Member
  • *
  • Posts: 139
Re: Used variable showing as not used?
« Reply #1 on: February 23, 2021, 12:26:51 PM »
Update:
This seems to only happen in Play mode. When the game is stopped, the variable is showing used in the actions as expected.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4145
  • Official Playmaker Support
    • LinkedIn
Re: Used variable showing as not used?
« Reply #2 on: February 23, 2021, 07:40:19 PM »
We were playing with disabling some searches in PlayMode for better performance.

I think we found a good balance in the next update (1.9.1p4 coming soon).