Infinite importing Assets
See original GitHub issueWhen I click on Generate nodes, the following error appears:
IndexOutOfRangeException: Index was outside the bounds of the array. FigmaImporter.Editor.FigmaNodeGenerator.AddFills (FigmaImporter.Editor.Node node, UnityEngine.GameObject nodeGo) (at Assets/FigmaImporter/Editor/FigmaNodeGenerator.cs:145) FigmaImporter.Editor.FigmaNodeGenerator.GenerateNode (FigmaImporter.Editor.Node node, UnityEngine.GameObject parent, System.Collections.Generic.IList`1[T] nodeTreeElements) (at Assets/FigmaImporter/Editor/FigmaNodeGenerator.cs:109) FigmaImporter.Editor.FigmaImporter.GetFile (System.String fileUrl) (at Assets/FigmaImporter/Editor/FigmaImporter.cs:312) System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <27586baf39bf4babbfd8a2caabe8e228>:0) UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <61c05f8d81804e929ff4198c5bcc7a62>:0) UnityEngine.UnitySynchronizationContext.Exec () (at <61c05f8d81804e929ff4198c5bcc7a62>:0) UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <61c05f8d81804e929ff4198c5bcc7a62>:0)
I have launched both on new projects in Figma and on old ones that used to work. All projects have this error.
A week ago everything worked, but today this error appeared.
Issue Analytics
- State:
- Created 4 months ago
- Comments:13 (4 by maintainers)

Top Related StackOverflow Question
Well, we found the problem)
It’s funny, the bug was fixed when I downloaded the package through the package manager. Previously, I just downloaded the entire project from git, and moved the FigmaImporter folder to my project.
Now I entered the URL link into the package manager, he apparently downloaded the missing config and everything worked!
In any case, thanks for the help, anyone could have been in my place, so it’s good that we created this topic and sorted out the error 😃