defold / defold/extension-rive
subscribeToViewModelProperty Keeps giving error, while no erros are giving when subscribing
- Dominant language
- C++
- Stars
- 73
- Forks
- 15
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 3
Description
Hello,
So on the moment you want to read a property it gives error that you need to subscibe for it.
But when being subscribed it keeps giving this error,
I have all my subscribtions in a seperate function that gets called on init.
I have put lisseners in update.
rive.cmd.getViewModelInstance type.
For exampe it gives the error for the instance called "prenter"
at the beginning of the log.
But later when i pres it, its works withouth the error.
Its also giving error for other but seems to be working.
But on the moment i have it on a non repeatble function, the error stops my code.
Rive build: 13.0.0
Defold version 1.13.0
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the error with Rive build 13.0.0 and Defold 1.13.0, using the subscribeToViewModelProperty calls and rive.cmd.getViewModelInstance mentioned in the report. Inspect the subscription timing around initialization and update listeners, then verify that subscribed properties no longer log errors and that a non-repeatable function is not stopped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100