cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

[BUG] Trigger doesn't work well on multiple layers of Animation Graph

Open PPpro opened this issue 1 year ago • 1 comments

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. image image image

It seems only the layer 1 is influenced by the Trigger variable.

Relevant error log output

image

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

PPpro avatar Jan 26 '24 14:01 PPpro

@minggo please take a look

PPpro avatar Jan 26 '24 14:01 PPpro