Skip to main content

Hi. I developed a plugin myself. I try to scan all the nodes in the page in design mode:


const nodes = selection?.findAll?.() ?? []

The plugin will crash when it I want to get further information about the invisible nodes and the error log is:


xxx : The node (instance sublayer or table cell) with id "xxx" does not exist.

It seems that the Figma plugin can scan the invisible nodes, but when I want to get some detail information about the nodes, the plugin can’t find them.


It works successfully when I restart the plugin or in dev mode(I set skipInvisibleInstanceChildren to false). However, when I reopened the Figma file, it failed again in design mode.


I tried this but it also failed:


figma.loadAllpagesAsync()
Be the first to reply!

Reply