rive-flutter
rive-flutter copied to clipboard
[Bug] State machine causes Flicker/glitch
<-- Thanks for using Rive!
If something isn't working like you expected, please:
- Make sure you've updated rive-flutter to the latest version: https://pub.dev/packages/rive/versions
- Check out our documentation https://rive.app/community/doc
- Get help on our forums https://rive.app/community/forums/home
- You can file a new feature request at https://rive.app/community/forums/feature-requests/fsnweJpNLqIh
If you think you found a bug or if you can't find what you're looking for in our docs, fill out the template below.
-->
Description
State machine animation causes glitch at the end of the state machine animation but if I use animation then it does not cause the glitch
Steps To Reproduce
Steps to reproduce the behavior:
- create animation with state machine
- use it in flutter
Device & Versions (please complete the following information)
- Device: iOS Simulator
- OS: IOS 18.0
- Flutter Version: Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision 2663184aa7 (6 weeks ago) • 2024-09-11 16:27:48 -0500 Engine • revision 36335019a8 Tools • Dart 3.5.3 • DevTools 2.37.3
Bug Video
https://github.com/user-attachments/assets/901a9620-2653-4678-991c-fb1d3c7b62df
@developer-farhan, it might be that you're adding the State Machine Controller twice. Could you please share the full widget code, and I can take a look.
@developer-farhan, it might be that you're adding the State Machine Controller twice. Could you please share the full widget code, and I can take a look.
Hi thank you for your response and time. The code in video is the total code previously I used a simple starless widget without any controller and I had the same issue could you look into it please
The code in the video does not show the controller you made.
If you can share the .rev/.riv file I can take a look. If you cannot share that publicly please reach out to our private support and mention this issue: https://rive.atlassian.net/servicedesk/customer/portals
Closing this issue as it's inactive.
Note that we just released version 0.14.0-dev.1, which is a big update to Rive Flutter and might also resolve your issue.
You can read more here:
If you're having issues updating to the latest, please open a new issue with reproducible steps.