Cannot Reproduce

TriggerUnityEvent now working on StateMachines.

Pyro Game Studio 2 years ago updated by Lazlo Bonin (Lead Developer) 1 year ago 2

Whenever I call TriggerUnityEvent on a StateMachine, the UnityEvent that I'm calling never fires.

This works fine if I'm targeting a FlowMachine, but when I'm targeting a StateMachine it doesn't work even if I'm listening to the UnityEvent in the currently active state.

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
.NET 4.x
Pending Review

Hi Pyro,

Thanks for the report, I'll have a look and see if I can reproduce that on my end.

Cannot Reproduce

Hi Pyro,

I tested this in 1.4.9/2019.3 tried reproducing this but I couldn't.

I used a GUI Button OnClick Unity Event to trigger, then a simple state macro with a single Start active state with a UnityEvent, similar to the screenshot you shown.

Try making sure that your event fires and that your event name is spelled exactly the same way.