[bug] empty artboard list

UE 5.7 + Rive Unreal 0.4.26: empty artboard lists and a crash in Stroke::update()

Hi everyone! I wanted to share an issue I encountered while importing two Rive UI components into Unreal, along with the workaround we found with ChatGPT/Codex’s help. Hopefully this helps someone experiencing similar problems.

My setup:

  • Unreal Engine 5.7 on Windows.

  • Rive Unreal plugin 0.4.26, recently updated using the source ZIP.

  • RHI rendering backend.

  • Runtime .riv files exported through Publish in the Rive editor.

I’ll refer to the affected files as Component 1 and Component 2. Other Rive files imported successfully into the same project.

Initially, both assets appeared completely empty in Unreal.

The artboard dropdown contained no options, so there was nothing to select. Asset validation reported:

URiveWidget::Setup Selected artboard is empty

Re-publishing the files, importing them as new assets, and renaming the artboards did not resolve the issue.

The Output Log contained the more useful errors:

LogRiveRenderer: Error: Editor: failed to import .riv for Ore shaders (result 2)
LogRive: Error: Rive File RequestId: 0 Error {failed to load Rive file.}

These were followed by invalid file-handle errors when Unreal requested the artboards, enums, and view models.

The empty dropdown was a consequence of the file failing to load. The artboards still existed in the exported files.

The first compatibility issue involved the serialized blend mode.

This was particularly confusing because the affected shapes already showed these settings in the Rive editor:

Blend: Normal
Additive strength: 0%

Inspection of the exported binary files found one shape in each file with a serialized blend-mode value of 12, despite the additive amount being zero:

ComponentAffected shapeComponent 1The main shapeComponent 2The background shape

Changing that blend-mode value from 12 to 3 (Normal / srcOver) allowed both files to load in an older runtime used for compatibility testing. Removing only the additive-amount property did not resolve the import failure.

After this adjustment, Component 1 successfully loaded and worked in my Unreal project.

The finding here is specific to these exports: seeing Normal and 0% in the inspector did not guarantee that the exported blend-mode encoding was compatible with the runtime bundled with my plugin.

Component 2 then exposed a second issue: an Unreal crash.

Once the import problem was bypassed, Component 2 caused an access violation:

Unhandled Exception:
EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000

UnrealEditor_RiveRenderer!rive::Stroke::update()
[src/shapes/paint/stroke.cpp:66]

UnrealEditor_Rive!rive::Artboard::updatePass()
UnrealEditor_Rive!rive::Artboard::advance()

The component contained an Angular Gradient on its frame stroke.

Inspection of the runtime source associated with plugin 0.4.26 indicated that this gradient type was unsupported there. The source and reproduction tests pointed to the stroke reaching its update with no initialized render paint, followed by a null-pointer dereference in Stroke::update().

Replacing the Angular Gradient with a Linear Gradient eliminated the corresponding crash in the older-runtime test harness.

With Codex’s help, we produced compatibility-patched runtime exports.

The final adjustments were:

  • Component 1: normalize the affected shape’s serialized blend mode.

  • Component 2: normalize the background shape’s blend mode and replace the frame stroke’s Angular Gradient with a Linear Gradient.

The other serialized objects and properties were preserved, including geometry, text, fonts, timelines, State Machines, View Models, and Data Binding.

The gradient replacement can change the appearance of the frame because angular and linear gradients distribute their colors differently.

The revised Component 2 passed 1,080 update frames in both web runtimes 2.43.0 and 2.49.0, with its View Model bound and its numeric value changing through:

100 → 55 → 25 → 5 → 0 → 100

Component 1 is confirmed working in Unreal. The final Component 2 revision has passed those runtime tests, but still needs confirmation in my Unreal project.

These adjustments were made to the exported .riv files. They do not update the original editor documents, so publishing those documents again could reintroduce the compatibility issue. We also have not verified an editor-side reset for the blend encoding when the inspector already shows Normal and 0%.

A clearer compatibility warning for unsupported blend modes and gradient types would have made this much easier to diagnose.

I hope this helps someone encountering an empty artboard list or the same Stroke::update() crash!