Uncaught RangeError when running the example
quinlo opened this issue · 2 comments
quinlo commented
Similar to issue #12 I am getting the following error when trying to run the example:
BinaryReader.js:53 Uncaught RangeError: Offset is outside the bounds of the DataView
at DataView.getFloat32 (<anonymous>)
at BinaryReader.readFloat32Array (BinaryReader.js:53)
at _ReadActorPath (ActorLoader.js:1304)
at _ReadComponentsBlock (ActorLoader.js:189)
at _ReadActorArtboard (ActorLoader.js:754)
at _ReadArtboardsBlock (ActorLoader.js:683)
at _ReadActor (ActorLoader.js:715)
at FileReader.fileReader.onload (ActorLoader.js:1437)
The updated CanvasKit didn't seem to do the trick for me.
umberto-sonnino commented
Thanks for reporting this!
I updated the repo with the correct file, let me know if this fixes it for you!
quinlo commented
Sorry for the delay in responding here. I pulled down your change and everything is working! Thank you for the quick fix.