You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We create a sample animation in Rive and it works in Flutter lib but not works by JS lib. both JSON or Binary export didn't work in JS
the Binary version shows this error: Uncaught RangeError: Offset is outside the bounds of the DataView at DataView.getFloat32 (<anonymous>) at BinaryReader.readFloat32Array (BinaryReader.js:53) at _ReadActorNode (ActorLoader.js:897) at _ReadComponentsBlock (ActorLoader.js:149) at _ReadActorArtboard (ActorLoader.js:777) at _ReadArtboardsBlock (ActorLoader.js:700) at _ReadActor (ActorLoader.js:744) at FileReader.fileReader.onload (ActorLoader.js:1483)
The JSON version shows this error: JSONReader.js:49 Uncaught TypeError: Cannot read property '0' of undefined at JSONReader.readArray (JSONReader.js:49) at JSONReader.readFloat32Array (JSONReader.js:36) at _ReadAnimationBlock (ActorLoader.js:480) at _ReadAnimationsBlock (ActorLoader.js:527) at _ReadActorArtboard (ActorLoader.js:780) at _ReadArtboardsBlock (ActorLoader.js:700) at _ReadActor (ActorLoader.js:744) at FileReader.fileReader.onload (ActorLoader.js:1483)
Is there any solution?
Do you need the .flr file for the test?
The text was updated successfully, but these errors were encountered:
We create a sample animation in Rive and it works in Flutter lib but not works by JS lib. both JSON or Binary export didn't work in JS
the Binary version shows this error:
Uncaught RangeError: Offset is outside the bounds of the DataView at DataView.getFloat32 (<anonymous>) at BinaryReader.readFloat32Array (BinaryReader.js:53) at _ReadActorNode (ActorLoader.js:897) at _ReadComponentsBlock (ActorLoader.js:149) at _ReadActorArtboard (ActorLoader.js:777) at _ReadArtboardsBlock (ActorLoader.js:700) at _ReadActor (ActorLoader.js:744) at FileReader.fileReader.onload (ActorLoader.js:1483)
The JSON version shows this error:
JSONReader.js:49 Uncaught TypeError: Cannot read property '0' of undefined at JSONReader.readArray (JSONReader.js:49) at JSONReader.readFloat32Array (JSONReader.js:36) at _ReadAnimationBlock (ActorLoader.js:480) at _ReadAnimationsBlock (ActorLoader.js:527) at _ReadActorArtboard (ActorLoader.js:780) at _ReadArtboardsBlock (ActorLoader.js:700) at _ReadActor (ActorLoader.js:744) at FileReader.fileReader.onload (ActorLoader.js:1483)
Is there any solution?
Do you need the
.flr
file for the test?The text was updated successfully, but these errors were encountered: