Skip to main content
Question

[Figma Plugin] Error when running it


Leo_Palazzi

Hello,

I have an error in console when I run my plugin :

“Assertion failure: styleIDs.size() == paths.size() && “Creating geometry with mismatched properties”” in MultiplayerGeometry (FGMultiplayerMessages.cpp)

I am using React with package : “@figma/plugin-typings@^1.24.0”

And I used https://github.com/nirsky/figma-plugin-react-template to create my project.

Thank you for your help !

This topic has been closed for comments

2 replies

Saulo_Vallory

Looks like you are passing the wrong number of style IDs when trying to create a geometry. If you enable Developer VM and are not bundling the code (or have sourcemaps) you should be able to see in the error details where in your code the issue is


Martin_Stech

Hi, I have the same error msg in some cases when I duplicate something where is a stroke icon and parent element has shadow effect without “Show behind transparent area” checked.

If it is fill icon or checked “Show behind transparent area”, it is OK…


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings