Skip to content

RangeError (length): Invalid value: Not in inclusive range 0..11: 12 #585

@ijustlearn

Description

@ijustlearn

<-- Thanks for using Rive!

If something isn't working like you expected, please:

If you think you found a bug or if you can't find what you're looking for
in our docs, fill out the template below.

-->

Description

<-- A clear and concise description of what the problem is. -->
report RangeError (length): Invalid value: Not in inclusive range 0..11: 12 error when use Data Binding Artboard to switch main artboard's commponent

Steps To Reproduce

Steps to reproduce the behavior:

  1. create two artboart convert components
  2. create a view model artboard property
  3. in the main artboart insert component , and source bind Databind above artboard property
  4. in the rive app run fine, can switch the component
  5. export the riv file
  6. in the flutter app,just init the rive file
  7. print(viewModelInstance.properties.toString());
  8. see error: RangeError (length): Invalid value: Not in inclusive range 0..11: 12

rive file:

Please change the file extension to .riv.
xxx.txt

Expected behavior

<-- A clear and concise description of what you expected to happen. -->
sholed no error

Device & Versions (please complete the following information)

  • Device: iphone 11 pro
  • OS: iOS 18
  • Flutter Version: Flutter 3.35.7
  • rive: ^0.14.0-dev.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions