State machine unsyncs/breaks if a user leaves the tab in the browser then comes back.
I have an issue with the state machine, where, the animation/state sequence will unsync/break if a user goes to a different tab then comes back. It works perfectly as long as the user remains in the tab. Can you help me figure out why that is?
It breaks in all browsers I’ve tested on, linux and windows. This also happens in the editor itself on the browser app)
I have multiple artboards + nested inputs to make this all happen.
My assumption is that when the user leaves the tab, the events on the timeline no longer fire at the correct times in the timeline.
In the video you’ll see the animation sequence play properly. and watch what happens when I leave and come back to the tab. The colors don’t match the frame, the scanner captures the circle too early, circles stop moving at the wrong time (scanner is still moving despite the circles being paused). etc
Here’s the rev file: