Skip to content
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

Unhandled Exception: type 'ActorNode' is not a subtype of type 'ActorBoneBase' in type cast #18

Open
fauziridwan1709 opened this issue Oct 3, 2019 · 1 comment

Comments

@fauziridwan1709
Copy link

import 'package:flutter/material.dart';
import 'package:sbmptn_indonesia/Tools/nima_actor.dart';

class PagePlace extends StatelessWidget {
@OverRide
Widget build(BuildContext context) {
return Container(
width:600,
height: 1000,
child: new NimaActor(
'assets/Robot.nma', alignment: Alignment.center, fit: BoxFit.contain, animation:'idle', mixSeconds: 0.2,
),
);
}
}

@zk-luke
Copy link

zk-luke commented Nov 11, 2019

I guess that you must have chosen JSON format in export settings when exporting the animation from Nima editor.
this is a bug. choose the Binary format in export settings will solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants