Crash when enabling "skip invisible instance children" and select an invisible node

If I set figma.skipInvisibleInstanceChildren = true, click on an invisible node inside of an instance, and run figma.currentPage.selection, I guess that the expected behavior is to return an empty array.

But it crashes with The node with id "800:50000" does not exist

2 Likes