Issues linking multiple ViewModels in Rive

Hi Rive Community,




I need your help.

Until now, my Rive file was structured with a single ViewModel where I put all my information (strings).


After watching yesterday’s YouTube video explaining how to work with multiple ViewModels, I’m trying to rebuild my setup.


I created two new ViewModels and linked them in my main ViewModel via properties.

In the hierarchy, I assigned the models, and in my code I’m now passing the ViewModel like this:

setRiveString('blueNameLong', fmtTvName(blueRaw), vmiScoreboard || vmi);

The graphic is displayed correctly, but the data in the main artboard is not updating.

Does anyone have an idea where my mistake might be or what I’m missing?

Thanks in advance!