Skip to main content
Yuta_Hidaka
Dec 7, 2022 11:26 AM UTC
Question

My Figma Plugin crashed when trying to Export while opening my Plugin

Hi there.

I’m developing a Figma plugin.
When I try to export some frame, my plugin gets crash.
And stack trace does not help me. (Stack trace is below)

Error: Saving the document
    at N (figma_app.min.js.br:1467:29637)
    at G0s (figma_app.min.js.br:1469:1154)
    at IO (figma_app.min.js.br:1469:1109)
    at figma_app.min.js.br:2541:98036
    at figma_app.min.js.br:2541:98477
    at figma_app.min.js.br:2536:203277
    at figma_app.min.js.br:2536:103365
    at figma_app.min.js.br:2536:116123
    at figma_app.min.js.br:2542:131589
    at figma_app.min.js.br:2542:37642
    at figma_app.min.js.br:217:3979
    at figma_app.min.js.br:2536:199619
    at figma_app.min.js.br:726:365680
    at figma_app.min.js.br:2542:93677
    at figma_app.min.js.br:2536:55857
    at e6 (figma_app.min.js.br:1686:27317)

My plugin does not care about exporting things.
So I’m stuck in this.

Does anyone have some advise?

Thanks.

This topic has been closed for replies.

5 replies

Gleb
Power Member
Dec 7, 2022 11:35 AM UTC

This is an old known bug. Just don’t export anything while the plugin is open.

Yuta_Hidaka
Dec 7, 2022 12:04 PM UTC

Hi Gleb! Thank you for the reply!

So there is no solution, just close the plugin that’s it?

Gleb
Power Member
Dec 7, 2022 1:33 PM UTC

Yep, no solution until Figma fixes this.

Aug 22, 2023 12:21 AM UTC

Still an issue in August 2023! I also found that using Copy as PNG (or SVG) or clicking on the Export button in the properties panel reproduces the issue consistently, regardless of the plugin open. I filed a support ticket for this.

This seems like a significant bug and could potentially result in data loss depending on what you’re doing in the plugin.

Eugene_Trinh
Aug 30, 2024 9:10 AM UTC

We are still having the crash issue here.