Fill Names Not Exported in Rive Desktop and Web
Hi,
I’ve noticed that fill names no longer seem to export correctly when using both Rive Desktop and Rive Web. However, shape names are exporting as expected. This issue wasn’t present with files I exported earlier this year. Im using Flutter and flutter_rive 0.13.17.
Steps I’ve taken to troubleshoot:
I’ve ensured that "Export All Names" is enabled in the export settings.
I’ve verified that the "Export Name" option is checked for individual shapes via right-click, but I assume this setting only applies to the shape itself and not its fills.
I´ve created a brand .new rive with one shape and named one fill and got the same result.
Could you confirm if this is expected behavior or a regression? If there’s an additional step needed to include fill names in the export, I’d appreciate guidance.
Thank you for your help!
I'm not sure. I'll check with the engineers and get back to you.
Looks like the Export all Names option filters out components that don't have a visual representation on the stage. For example shapes appear on the stage while fills don't. Exporting everything has the potential to bloat the file quite a bit.
Could I get a little more info about your use case?
Hi,
Of course!
I use this functionality with the principle of having a shape with gradients or fills. I then name the fills "highlight," "shadow," and "main," and dynamically update these gradients in Flutter by targeting their fill names. Theoretically, I could rename all the shapes if each shape only used one fill, but the issue persists when a shape has more than one fill.
Thanks
Hi,
Do you know if there’s a workaround? I’d greatly appreciate any guidance on how to resolve or work around this.
Looking forward to your response.
Best regards,