Coder Social home page Coder Social logo

The actor is broken about flare-flutter HOT 11 CLOSED

2d-inc avatar 2d-inc commented on July 21, 2024
The actor is broken

from flare-flutter.

Comments (11)

kmckinley avatar kmckinley commented on July 21, 2024 1

Update: I went and looked at the penguin example to see if I had the same issue like @HaoliangHsiao mentioned, but I did not. I checked the version for flare_flutter and it was using 1.0.5, but my project was on 1.0.4. I updated my project to 1.0.5 and the issue went away.

from flare-flutter.

HaoliangHsiao avatar HaoliangHsiao commented on July 21, 2024 1

@luigi-rosso This issue does not happen on release build. It's work. Thank you.

from flare-flutter.

luigi-rosso avatar luigi-rosso commented on July 21, 2024 1

We should open this issue on the Flutter repository as clearly there's something quite reproducible here that's affecting the Pixel devices. I'm on it :)

from flare-flutter.

luigi-rosso avatar luigi-rosso commented on July 21, 2024 1

I was able to reproduce this on my Pixel 2, but it's somewhat random, as if you have to stop it on the right frame that somehow causes the problem. It's much clearer in the https://github.com/2d-inc/Flare-Flutter/tree/master/example/simple where it can be seen while the animation is playing.

from flare-flutter.

luigi-rosso avatar luigi-rosso commented on July 21, 2024

Are you running the example/penguin_dance app or have you made any modifications to it? Could you share your source, if so?

I don't see this on my side, but I'm curious if you're doing something that's causing the actor to not advance after an update.

from flare-flutter.

kmckinley avatar kmckinley commented on July 21, 2024

I'm having the same problem in my project. I have a simple animation and after I run it one and then update isPaused to true it stops animating, but afterward, when I attempt o update isPaused to false it doesn't start animating again.

from flare-flutter.

luigi-rosso avatar luigi-rosso commented on July 21, 2024

I think this new issue @HaoliangHsiao is facing could be related to flutter/flutter#25426. Try running flutter upgrade to see if it was related to that issue. Let me know, I can't seem to repro this with any of the examples.

from flare-flutter.

HaoliangHsiao avatar HaoliangHsiao commented on July 21, 2024

I used your demo code 'Rockin' Penguin' on Pixel 3 Max.

This is my Flutter doctor :
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.1.5-pre.16, on Mac OS X 10.13.6 17G65, locale
zh-Hant-TW)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.1)
[✓] Connected device (1 available)

device-2018-12-22-103444
device-2018-12-22-103424

from flare-flutter.

luigi-rosso avatar luigi-rosso commented on July 21, 2024

Thanks @HaoliangHsiao, could you try it in release mode and see if it makes a difference?

from flare-flutter.

HaoliangHsiao avatar HaoliangHsiao commented on July 21, 2024

I try to uesd v1.1.4, The issue will happen a few times.
[✓] Flutter (Channel master, v1.1.4, on Mac OS X 10.13.6 17G65, locale
zh-Hant-TW)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.1)
[✓] Connected device (1 available)
device-2018-12-22-105528

from flare-flutter.

luigi-rosso avatar luigi-rosso commented on July 21, 2024

I'm curious if it works in release mode as I have a similar issue with a Pixel 2 that corrupts the graphics in debug mode, but works fine in release.

flutter run --release

I might need to go pick up a Pixel 3 :-)

from flare-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.