Elements disappearing during animation + state machine interaction issue (Dial UI)
Hi everyone,
I’m working on a rotating dial UI animation in Rive and running into an issue where text and some assets randomly disappear during animation playback, especially when switching between states or interacting with the dial.
Setup
Circular dial with multiple menu items (Send, Wallet, Cards, etc.)
Dial rotates and each section becomes active based on angle
Each menu has:
Active state
Idle state
There are:
Rotation animations
Idle animations
State transitions
State Machine Logic
Created a 1D Blend State using an input called dialValue
Mapped:
0 → 0°
1 → 360°
In Flutter:
Passing dynamic dialValue while dragging
Snapping to nearest angles (0°, 120°, 240°, 360°)
Triggering respective idle states (card idle, send idle, etc.)
Interaction Setup
Created events (e.g., addMoney)
Added invisible hitboxes above icons
Set:
Listener: Report Event
Trigger: Pointer Down
In Flutter:
Listening to events and navigating accordingly
Issue
During animation:
Some text labels disappear
Some icons/assets vanish temporarily
Happens especially:
While rotating the dial
When transitioning between states
When blend values are changing dynamically
What I need help with
Why are elements disappearing during state transitions?
Best practice for:
Combining 1D blend + state-based animations
Keeping UI elements persistent across states
How to structure:
Layers
Timelines
Visibility/opacity across animations
Attached
Screens of UI states and preview
Any guidance or debugging tips would really help. Thanks!