State Machine returning to Idle shows wrong object state
Hi everyone,
I'm running into a strange issue with a Rive state machine and would appreciate any help.
My setup is:
idle (looping state)
processing
scanning
alert
reduced
success (one-shot animation)
All states can transition to success using a trigSuccess trigger. The success state then automatically transitions back to idle after about 1.4 seconds.
The transition works correctly, but when it returns to idle, one of my objects (an Ellipse) does not match the state defined in the Idle animation. It appears with incorrect properties even though the Idle timeline shows the correct values.
For example:
Idle animation: Ellipse scale is 80% x 110%, blue fill.
Success animation: Ellipse scale is 140% x 140%, green fill.
After returning from Success to Idle, the Ellipse does not always appear as defined in the Idle timeline.
Things I've checked:
The transition from Success → Idle is working.
The Ellipse has keyframes in both animations.
The issue only appears after the state machine returns from Success.
Has anyone experienced state values "sticking" from a previous animation when returning to Idle? Are there specific properties (scale, fill color, opacity, etc.) that need to be keyed at frame 0 to force a reset?
The first image shows the Idle animation playing normally, with the correct visual appearance.
The second image shows the state machine transitioning from Success back to Idle, where the visual issue occurs. The Ellipse does not appear the same as it does when viewing the Idle animation directly, even though the state has already returned to Idle.
Any suggestions would be greatly appreciated. Thanks!