I just made a simple test scene which has 2 ezgui buttons, and a sphere. Each button has the EZ button invoke action linking to another state that disables/enables the sphere.
It works for the first click on each button, then stops working? am I using this action incorrectly?
Also, specifying another game object doesn't work as you can't select any events outside of the current FSM, global events aren't visible to it.
I get this error in the above setup:
NullReferenceException: Object reference not set to an instance of an object
EzButtonInvoke.OnEnter () (at Assets/PlayMaker/Actions/EZGUI.cs:44)
HutongGames.PlayMaker.FsmState.OnEnter ()
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.Update ()
PlayMakerFSM.Update ()
Anyone had a similar issue?