Simultaneous triggers not working as expected
Dear Rive team,
First of all, I want to thank you for your fascinating works and products. I used Rive to build many websites and games, which worked perfectly on all projects. Rive brings so many projects to life.
The thing is, I’m encountering a potential bug when using @rive-app/canvas-advanced (version 2.26.9), and it would be so nice if I could know if this is an intended behavior or an issue.
Environment:
Runtime: Web
Package: @rive-app/canvas-advanced
Version: 2.26.9 (bug appears starting from 2.25.5)
I have a state machine with the following structure:
Entry → idle --[play trigger]--> Play Animation
Any State --[reset trigger]--> idle
When both reset and play triggers fired at the same time:
In 2.25.4 and earlier, the animation resets first and then plays as usual ✅
But starting from 2.25.5, the behavior changed. Only the reset seems to happen, and the play trigger appears to be ignored or suppressed ❌
So my question is, is this new behavior expected? Or is it a bug?
I thought that even if reset and play are triggered together, the animation should reset and then immediately play. Maybe I was wrong about something, and it would be a huge help if you could correct me.
Thank you all again for your time and effort. Any answer will be appreciated.
Many thanks,
Alannnn