-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RangeError (index): Invalid value: Valid value range is empty: 0 #356
Comments
@sheetalsavani the Rive Text Engine needs to be manually initialized if you're using Or easier you can use one of the other convenience methods, such as var riveFile = await RiveFile.asset('path/to/myrive.riv'); Which is async and will call I'll update the inline docs to indicate the above. |
I changed as you said @HayesGordon is having the same error with 'Out of memory'.
|
I tried my side @sheetalsavani and got it working with the original code you shared (building for macOS). I had to change the file's name to load Could you check to see if you're experiencing this issue on the latest version of the Rive-Flutter runtime (rive: ^0.12.4). Could you also confirm if you're getting this error when building for a different platform, for example, Android or Web? Depending on your findings, could you please share a fully reproducible example project? Once we can reproduce the issue we can help resolve it. |
As of now just by excluding the text from the rive editor it works. The text was hidden in the .rev file. |
Description
There is an error when trying to load the rive file also throws out of memory sometimes
Steps To Reproduce
Steps to reproduce the behavior:
Source
.riv
/.rev
fileall-animations.riv.zip
Expected behavior
It should be loaded on first try within 5-6 seconds
Screenshots
Device & Versions (please complete the following information)
The text was updated successfully, but these errors were encountered: