question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Infinite importing Assets

See original GitHub issue

When 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:closed
  • Created 4 months ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
VladislavMmcommented, May 13, 2023

Nothing, I don’t have such a file

Well, we found the problem)

1reaction
dvpavlov-devcommented, May 13, 2023

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 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Endless "Importing assets" loading window in Unity editor
Endless "Importing assets" loading window in Unity editor ... to go back to Unity, this “importing assets” shows up again and stays forever....
Read more >
Launching project gets stuck on "Importing (busy for XX:XX)"
I have been getting this issue for many recent versions of unity. Basically, I keep updating with the hope that It would be...
Read more >
Unity "import" process taking forever for a new project.
During import, unity takes every asset and converts it to an internal, consistent format. So the first time it always takes forever.
Read more >
When opening Unity project, it is stuck on importing
I've run into this a few times and have typically been able to resolve it by deleting the package cache at ...
Read more >
Manual: Refreshing the Asset Database
Import non-code-related Assets ... Once Unity imports all code-related assets and it reloads the domain, it then moves on to the remaining Assets....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found