Unity crash if wrong artboard selected

When a riv file is exported with the wrong main artboard selected, then that riv file is used in a Unity project, Unity will crash on project run without warning. This should be more gracefully handled.