Skip to content

[rive_native] Listener fails to update the ViewModel property at runtime but works correctly in the editor. #487

@nikkieke

Description

@nikkieke

In the editor, clicking the button correctly triggers the listener and updates the ViewModel property value to 3. However, after exporting the animation and integrating it into the app, the same interaction does not update the value at runtime.
I'm listening to changes from the ViewModel, but no update occurs when the button is clicked, unlike the behavior observed in the Rive editor.

Expected Behavior
Clicking the button should update the ViewModel value to 3 at runtime, just as it does in the Rive editor.

Actual Behavior
No change occurs in the ViewModel at runtime when the button is clicked.

Additional Context
A ZIP folder containing a Rive sample that reproduces the issue has been attached for reference.

Test (1).rev.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions