cocos-engine
cocos-engine copied to clipboard
[BUG] Trigger doesn't work well on multiple layers of Animation Graph
Cocos Creator version
3.8.1
System information
Windows 11
Issue description
I got an AnimationGraph asset with two layers. Both config with the Transition condition of Trigger variable.
It seems only the layer 1 is influenced by the Trigger variable.
Relevant error log output
layer 2 state enter by trigger output is also expected.
Steps to reproduce
open the demo project you'll see only the layer 1 state entered.
Minimal reproduction project
here is the demo to reproduce the issue: animTriggerDemo.zip
@minggo please take a look