Skip to content

OOB assets not working for URL-loaded riv animations #335

@tslater

Description

@tslater

Description

If your *.riv file is a bundled assets, oob assets are currently working via the referencedAssets prop. They silently fail if *.riv file is sourced using a remote url.

Provide a Repro

You just need to use ANY *.riv file with a referenced asset, but make sure to not reference a bundled *.riv file, load it over https.

Source .riv/.rev file

You can use the referenced .rev file that was used in the original PR for OOB assets.
https://github.com/user-attachments/files/18362804/out_of_band.rev.zip

Expected behavior

We expect fonts, images, and sounds to load.

Additional context

@HayesGordon said that this would require a change to the iOS runtime, which has delayed a fix.
@lancesnider confirmed it would be good to create a separate ticket to track the issue, so here it is!

@john-sportshub made the original discovery of the issue. (@john-sportshub let me know if you've found any workaraounds!).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions