cdmvision / unity-figma-importer

Unity Figma Importer turns your Figma design into Unity UI elements and can bind codes with layout files to create Unity apps with ease.
MIT License
101 stars 8 forks source link

Nested Instances Not Recognized, Duplicate Sprites in Unity #82

Open ozanaltinkaya opened 2 months ago

ozanaltinkaya commented 2 months ago

Hi, I'm not sure if it's a bug or if I'm doing something wrong, but I couldn't figure out how instancing works for the nested components. It only says "node type: instance" for the parent, not for its children. Also I can see imported duplicate sprites and different references in image components.

My component instances look like this in Figma: image

And like this in Unity: image

I can also see them separately in the sprite atlas. Yellow star in this case.

image

gunseliozkan commented 1 month ago

Hello @ozanaltinkaya, thank you for your feedback.

Duplicate sprites was an issue we were planning to solve, thank you for bringing it up, I am working on it.

Is this the only issue you are referring? I could not figure out what else could be a problem, your instance hierarchy looks okay in both images. If there is another issue, please comment or open an another issue.