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

Flare fails to load multiple files at once. #196

Closed
ciriousjoker opened this issue Nov 25, 2019 · 2 comments
Closed

Flare fails to load multiple files at once. #196

ciriousjoker opened this issue Nov 25, 2019 · 2 comments

Comments

@ciriousjoker
Copy link

I have 4 files that are named 1.flr, 2.flr and so on.
All files exist and work properly when I test them individually with only one FlareActor.
When I make a Row() out of 4 FlareActors, exactly one of them doesn't display anything.
Hotreloading to make them all display the same file works, meaning that if I change the code for them to all display each file individually, all files work except the one that didn't load when I tried loading all of them at once.

If I load 4 FlareActors with 1.flr, then hotreload to 2.flr and so on, all files load correctly and when I change it to load all of them at once, it keeps working (all files are displayed).

It seems like when it doesn't work, Flare tries to load all 4 files at once at some point (and fails for one of them) and then caches the failed result so it doesn't work the next time either.

@ciriousjoker
Copy link
Author

For some stupid reason, this bug is reproducable when I click "debug" in VS Code, but as soon as I close the app and reopen it (same code, same everything, just without adb connection), it works exactly as intended.

@ciriousjoker
Copy link
Author

I couldn't reproduce the issue with the latest tools. Dunno what fixed this, but in the meantime, a new VSCode version came out and this is the output of flutter --version:

Flutter 1.12.13+hotfix.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 27321ebbad (3 weeks ago) • 2019-12-10 18:15:01 -0800
Engine • revision 2994f7e1e6
Tools • Dart 2.7.0

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

1 participant