2d-inc / Flare-Flutter

Load and get full control of your Rive files in a Flutter project using this library.
https://rive.app/
MIT License
2.55k stars 469 forks source link

Matrix4 rendering bug on macOS (package v2.0.5 only) #265

Closed tsinis closed 5 months ago

tsinis commented 4 years ago

Hello, good people from Rive, it's me again — one of your biggest fans!

This time I want to report a bug rather than a issue. The thing is that when I use version 2.0.5 of your plugin in macOS builds, I get wrong rendering elements that are displayed using Matrix4 (like pseudo 3D, like in your tutorial about Hamilton card from New York). There are no such bug in versions 2.0.1-2.0.4. This applies to MacOS builds only (on dev and master Flutter channels, since there is no macOS build on beta and stable available) — Android, Web, iOS, have no such problems. Here's my repository (master channel): https://github.com/tsinis/plan_et_b just clone and run it on your mac and press the "play" button — it's running fine. Now update the pubspec's package version to 2.0.5 and run it again — the top layers are just black or not rendering at all. The analyzer and compiler don't show any errors, the bug is occurring in all versions (debug, profile and release).

As you can see, the problem is very specific and it's definitely not priority, but if you have time, please take a look. Thank you again for your work!