Data binding Unity documentation lacking
Here:
https://rive.app/docs/runtimes/data-binding#unity
It states this:
// Get reference to the default view model for an artboard
ViewModel defaultVM = riveWidget.Artboard.ViewModel;
There are some issues with this. First it assumes that a Rive widget is used. There is a bare API available and it should be mentioned how to interact with that, without the widget.
Second, the name should be:
m_artboard.DefaultViewModel;
Not Artboard.ViewModel;
Or perhaps the code for the widget is different than the bare API. Regardless, the difference should be made clear.