Submission checklist
Description
To reduce errors, our project has created strongly typed wrappers around the Rive view models in the game. However a common issue we face is that game logic can bind a new instance of a view model, leading to stale references to view models.
This isn't generally a problem when simply retrieving or setting values as our wrappers reobtain the root view model instances from the state machine each time, however we haven't found a good solution to ensuring that events such as OnTrigger and OnChange are always subscribed to the latest version of a property.
Previous working version
No response
Reproduction steps / code
No response
Upload your reproduction files / stack trace
No response
Source .riv / .rev file
No response
Screenshots / video
No response
Unity Editor log file
No response
Rive Unity package version
v0.4.5
Unity version
v6000.5.0f1
Target platform
macOS
Editor OS & version
macOS Tahoe 26.5.2
Additional context
No response
Submission checklist
Description
To reduce errors, our project has created strongly typed wrappers around the Rive view models in the game. However a common issue we face is that game logic can bind a new instance of a view model, leading to stale references to view models.
This isn't generally a problem when simply retrieving or setting values as our wrappers reobtain the root view model instances from the state machine each time, however we haven't found a good solution to ensuring that events such as OnTrigger and OnChange are always subscribed to the latest version of a property.
Previous working version
No response
Reproduction steps / code
No response
Upload your reproduction files / stack trace
No response
Source
.riv/.revfileNo response
Screenshots / video
No response
Unity Editor log file
No response
Rive Unity package version
v0.4.5
Unity version
v6000.5.0f1
Target platform
macOS
Editor OS & version
macOS Tahoe 26.5.2
Additional context
No response