When trying to publish a library component, one component is listed in section “Invalid components” with error message “Corrupt layer names”.
Looking at the component, I can not see anything special about the layer names (like empty names or special characters), that could invalid/corrupt.
Does anyone know what this means and how it can be fixed?
Thank you!
@tank666 Thanks for pointing out those articles.
Actually I found them before, but they appeared to describe something else because the error messages “Corrupt layer names” is not mentioned at all. But now in retrospect this is the issue which I had:
It turned out the naming of the component itself was wrong, but Figma does not show the full component variant name on the left side.
So it should have been “User=Admin”, but it was only “Admin”. The displayed text is the same though, it’s always just “Admin” – this is what led me to assume the naming was correct.