-
Notifications
You must be signed in to change notification settings - Fork 222
Description
<-- 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
<-- A clear and concise description of what the problem is. -->
Rendering rive files on a raspberry pi 5 shows floating point errors on all circles.
Replacing:
Future<rive.File?> _loadFile() async {
final bytes = await rootBundle.load(widget.asset);
return rive.File.decode(
bytes.buffer.asUint8List(),
riveFactory: RiveExampleApp.getCurrentFactory,
assetLoader: widget.assetLoader,
);
}
With:
//Future<rive.File?> _loadFile() async {
// final bytes = await rootBundle.load(widget.asset);
// return rive.File.decode(
// bytes.buffer.asUint8List(),
// riveFactory: rive.Factory.flutter, // 👈 Directly specify it here
// assetLoader: widget.assetLoader,
// );
// }
Will fix the floating point error, but then other effects are not rendered anymore.
Steps To Reproduce
Steps to reproduce the behavior:
- Run any circle, with or without feather effect, on a raspberry Pi 5 in chromium.
Source .riv/.rev file
<--
Attaching runtime-exported .riv file that reproduces the issue is immensely helpful for our team to identify the problem as fast as possible and fix it.
Please also include the source (.rev) by downloading a backup from the Editor.
N.B. Because GitHub only supports certain file types use a ZIP archive to upload .riv/.rev files to this issue.
You can also privately share the .riv/.rev file with us at [email protected].
-->
Expected behavior
<-- A clear and concise description of what you expected to happen. -->
Circles rendered as normal.
Screenshots
<-- If applicable, add screenshots to help explain your problem. -->
Device & Versions (please complete the following information)
- Device: raspberry pi 5
- OS: raspberry pi OS
- Flutter Version: Copy-paste the output of
flutter --version
e.g.:
Flutter 3.29.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ea121f8859 (3 months ago) • 2025-04-11 19:10:07 +0000
Engine • revision cf56914b32
Tools • Dart 3.7.2 • DevTools 2.42.3
Additional context
<-- Add any other context about the problem here. -->
I already raised this problem a few weeks ago in the Philips slack team, but since the trial has ended and I can't see the slack anymore I was hoping to get the issue fixed via here!

