ManakhovN / FigmaToUnityImporter

The project that imports nodes from Figma into unity.
MIT License
483 stars 59 forks source link

Broken #27

Closed flash1o closed 1 year ago

flash1o commented 1 year ago

I think they changed something in their API, so I cant use the importer anymore. Снимок экрана 2023-05-11 192956

ManakhovN commented 1 year ago

@flash1o Thanks for warning. I will take a look.

VladislavMm commented 1 year ago

And I found a jamb in the code on the git, yes figma changed the link and now it's at the beginning image And before it was like this image My code looks like this, so there was no error - image string _nodeId = substrings[length - 1].Substring(substrings[length - 1].IndexOf("node-id=") + "node-id=".Length);

ManakhovN commented 1 year ago

@VladislavMm Thank you for spotting the problem and for the solution. I pushed it to the main branch. Next time dont be shy to make a PR with fix.