On-demand loading for images in the Rive runtime
Hey Rive team,
We've run into an issue when using external image assets with the Rive runtime. Currently, it seems like all external images need to be fully loaded before an animation can even start playing.
This becomes a pretty big bottleneck for animations that rely on lots of images, especially things like frame-by-frame sequences. It causes long initial load times and eats up a lot of cache memory, which really impacts performance, particularly on lower-end devices.
We actually managed to implement on-demand loading ourselves by modifying the open-source C runtime for our specific devices. This way, images are only loaded when they're actually needed for the current part of the animation, and it works much better for us.
However, we've noticed this capability isn't available in the official runtimes for other platforms. We'd love it if you could consider adding official support for on-demand (or "lazy") loading of external image assets across the board. We genuinely believe this feature would be super helpful for many different kinds of animations and would significantly improve the user experience.