Animation Events not triggered in nested state graphs

Phil Bo 4 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 3

See breadcrump:

|> State Machine: Movement & Attacking

|--> State Casting

|---> Starts State Unit: Fireball

|-----> Begins in state Init

|----------> Sets Animator-Integer

Now the animation starts, but the Animation Event "BeginSpell" is not triggered. Placing the listener into the state "Casting" will trigger the event correctly.

Bolt Version 1.2.3, Windows 10, Unity 2017.3

A workaround is to call the Animation Events via Custom Triggers, I put this into an "always-on"-state in the state machine:

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Fixed in Alpha

Hi Phil! Thanks for the report. The issue will be fixed for v.1.2.4a2.