Skip to main content
5mo ago

Rive Animation not playing correctly in iOS and Web Preview Player

Does anybody know why sometimes a Rive runtime will not play correctly. I have run into this a few times. Here is a simple example.

Preview works fine: https://rive.app/s/mx8MAY0ps06yTvMa5kdxBQ/

However, when I pull the file into the rive.rip player (and into iOS), I only see the single animation from the nested artboard. The .rev file is attached. Other times the Rive preview player reports that no animation found even though it plays fine the editor. 🤔

https://www.dropbox.com/scl/fi/88bfsybupf7ph9x2tpj5j/loader.zip?rlkey=33o08ief7f7howwvz9bd8ii50&dl=0

3 replies
(edited) 5mo ago

When I run into this issue, I have tried the following:

  • Duplicate artboard(s), timeline(s), file

  • Create/remove statemachine(s)

  • Try remap, simple and statemachine as animation type

Eventually I end up rebuilding the animation from scratch — which is fine for a simple loader but annoying for more complex files. Which makes me wonder if something is corrupted in the file itself when I run into this. Anybody else ever run into this, and any tips on how to resolve it?

5mo ago

Sorry you ended up having to rebuild it. In iOS were you specifying which artboard and state machine to use? Also, do you have a default artboard set in Rive?

5mo ago

I did not have a default artboard assigned. However, I had manually created a state machine previously. Assigning a default artboard seemed to have fixed this issue. Maybe Rive should prompt the user if that is an issue. Thanks for the pointer 🙏