2d-inc / Nima-Flutter

MIT License
198 stars 37 forks source link

Error on release build #3

Closed carnivash closed 5 years ago

carnivash commented 6 years ago

I'm getting this error:

flutter: Loading actor filename assets/animation/welcome [VERBOSE-2:shell.cc(181)] Dart Error: Unhandled exception: RangeError (length): Invalid value: Not in range 0..8, inclusive: 8

0 _List.[]= (dart:core/runtime/libarray.dart:0)

1 Actor.readComponentsBlock (package:nima/nima/actor.dart:560)

2 Actor.load (package:nima/nima/actor.dart:421)

3 FlutterActor.loadFromBundle (package:nima/nima.dart:197)

On debug mode it's fine, this happens only if i run the release build. Thanks.
luigi-rosso commented 5 years ago

This was due to a Dart AOT compiler bug which the Dart team fixed! Closing.