VM instances disappearing/going visible

OS: Windows 11
Rive version: 0.8.5165 (both app and web version(Google Chrome))

This is going to be difficult to explain because it’s hard to see what’s happening under the hood, but my VM properties randomly seem to be disappearing (and sometimes reappearing).

I’m working on a complex project, and the components that are referenced/bound to these instances keep working, but they go invisible in the interface sometimes. Adding a new instance can sometimes change which instances are actually visible.

Furthermore, I’ve noticed that edits to VM properties get reversed when they are made while a timeline is open. Not sure if these problems are related.

I’ve been able to reproduce some behavior in the file attached below, though it doesn’t seem to work exactly the same.

If needed, I can privately share the more complex file.

I hope you’re able to fix this soon!


Steps to reproduce:

Disappearing VM values

  1. Create one or more new VM isntance(s)

  2. Close the file

  3. Open it again

Result: The VM instances have disappeared (it seems to happen most consistently if you do nothing after adding the VM instances, though I have the same problem with instances I created way earlier in the project).


Non-persistent VM updates:

  1. Open any timeline

  2. Edit VM values

  3. Switch back to Design Mode

Result: the VM values switch back to their previous value. This is, to me, is unexpected behavior, because VM values aren’t keyframeable.

vm_problems.rev

EDIT:
Another strange, seemingly related behavior: sometimes a VM value does update, but the updated value doesn’t show up when running the State Machine until I restart the editor. Not sure if it’s relevant, but I’m using the new Stateful Components. I’ve exposed a Nested View Model property and use this to ‘select’ which VM instance’s values to use on each instance of the Stateful Component. Hope that makes sense.


EDIT 2:
Another weird quirk. Instance is selected and visible, but when I click it, only another instance is visible/selectable. If I click that one, the first one disappears (there are, in fact, more instances than the two shown):