✅ Solved: Nested carousel component images lose instance-assigned images at web runtime (only fi...

Hey! I’ve got an issue with data-bound images working inside Rive, but are missing at runtime. Any ideas would be hugely appreciated!

Project structure

  • Component slider: layout with 6 Image properties exposed on its View Model (e.g., Image 1…Image 6).

  • Component popup: contains a slider instance.

  • Main timeline artboard: Graphical history timeline with popup instances (per year). For each popup → slider instance, I choose six images via instance overrides (the six Image properties are data-bound to the images in the slider component).

  • In the Rive editor, all 6 images render and the arrow navigation works.


Inside Rive:

timeline-inside-rive.mp4


At runtime in browser:

timeine-runtime.mp4

Slider ViewModel setup:


Issue:

At runtime, in the browser, only the first image appears in the slider. Slides 2–6 are blank (mechanics still work).

Observation / workaround

If I add a hidden instance of one of the missing images somewhere in the file e.g. scale down to 0% and set opacity 0 then this image does appear in the slider in the browser.

This suggests images selected only via component instance overrides may be treated as “unused” and get pruned/excluded at runtime.


Questions

  1. Is there a known export/runtime optimisation where images referenced only via component instance overrides are not included, unless they also appear as a layer in an artboard?

  2. If that’s expected, what’s the recommended way to ensure they get included?

  3. Is there any post-load call (e.g., forcing a bindings refresh) that would make those instance-override images resolve without needing the hidden references?

Other info:

Inside Rive I’m compressing the images to .webp files and exporting with type: Hosted. Although I have tried embedding the images as well, which didn’t make a difference.