Issues with Layers Disappearing Using Direct Timeline for Icon Animations

Hi Rive Community,

I am currently implementing an interactive icon animation in my project. Instead of using a State Machine, our development side is directly using specific timelines based on user interactions:like when the user clicks to turn the icon ON, we play the off-on timeline, when clicks to turn the icon OFF, we play the on-off timeline.


During playback, some layers randomly disappear, and here’s the animation info of 2 disappearing layers:

Layer A: Uses the Trim Start

Layer B: Uses Trim Start, Trim End, and overall Rotation


My questions are:

What could be causing these specific layers to disappear?

Is this issue directly related to manipulating timelines manually instead of using a State Machine?

If we migrate to a State Machine and our icon has 4 distinct states, is using Number Property would be the best way?


Thank you in advance!