Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Alatriste on April 01, 2017, 01:21:55 PM

Title: Local variable reported but doesn't exist
Post by: Alatriste on April 01, 2017, 01:21:55 PM
Hi,

I'm getting this weird warning(see screenshot) and when I finally isolated the FSM that seems to be triggering the message, the variable doesn't exist. I have been actually trying to find that variable in all my FSMs but it doesn't show up.

Am I missing something? Is there a way to actually track down that variable? (by the way, the gameObject that is giving the error is not the one that appear in the message, which is quite confusing.
Title: Re: Local variable reported but doesn't exist
Post by: jeanfabre on April 04, 2017, 02:50:31 AM
Hi,

 At what point this error occured?

Bye,

 Jean
Title: Re: Local variable reported but doesn't exist
Post by: Alatriste on April 05, 2017, 04:01:55 AM
Right after clicking the play buttons in the editor.
Title: Re: Local variable reported but doesn't exist
Post by: marv on April 05, 2017, 07:33:14 AM
Looks like an error caused by a "set fsm xy"/"get fsm xy" action that tries to access a nonexistent variable. Could it be that you're using a similarly named variable (probably different capitalization) somewhere? If so try finding that one and go from there to other FSMs that should try accessing it.
Title: Re: Local variable reported but doesn't exist
Post by: Alatriste on April 06, 2017, 04:35:41 AM
I'll take a look and I'll update the post asap.