You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trigger property OnTriggered only fires once for bindable artboards placed in slots #152
When a ViewModelInstanceTriggerProperty is subscribed to via OnTriggered on a bindable artboard placed in a slot of a parent RiveWidget, the callback only fires once. Subsequent user interactions with the same button do not trigger the callback again.
The same button artboard works correctly when used directly on a RiveWidget (not as a slotted bindable artboard) — triggers fire on every click as expected.
Steps to Reproduce
Create a parent RiveWidget with an artboard that has a ViewModel slot for a nested artboard
Create a bindable artboard (e.g. a button) with a trigger property (e.g. buttonClicked)
Place the bindable artboard into the parent widget's slot via SetViewModelInstance / artboard property
Subscribe to the trigger's OnTriggered event in C#
Click the button — callback fires ✅
Click the button again — callback does not fire ❌
Expected Behavior
OnTriggered should fire on every user interaction, regardless of whether the artboard is direct or slotted.
Actual Behavior
OnTriggered fires only once. Subsequent clicks are not detected.
Is there an additional step required to make trigger properties work correctly on bindable artboards placed in slots? Are we missing something in our setup, or is this a bug in how slotted artboard state machines are advanced?
Could you share the version of the package you're using, as well as the full code for subscribing to triggers (or ideally the whole script, if possible) ?
Activity
damzobridge commentedon Mar 31, 2026
Could you share the version of the package you're using, as well as the full code for subscribing to triggers (or ideally the whole script, if possible) ?