material-theme-builder icon indicating copy to clipboard operation
material-theme-builder copied to clipboard

Crash on open

Open lloydrichards opened this issue 2 years ago • 2 comments

Am trying to use the Material Theme Builder plugin for Figma and every time I open the plugin, it crashes. There is no message or anything, just closes.

lloydrichards avatar Apr 14 '22 09:04 lloydrichards

I have discovered the bug! There was a change recently to figma causing all the plugins to crash.

figma.loadFontAsync({ family: "Inter", style: "Regular" })

This line is needed to be added when the plugin opens. The plugin was working correctly and something changed on how nodes are updated on the canvas when no font is detected.

rodydavis avatar Apr 15 '22 11:04 rodydavis

Fix is being applied and a new change will roll out soon.

rodydavis avatar Apr 15 '22 12:04 rodydavis