Error on two scenes after project reimport

Godot Version

4.3

Question

Hello,

I’m encountering an error with two of my scenes after reimporting my project to GitHub.

I wanted to put my project on GitHub and had to reimport it. Since then, two of my scenes show errors :

scene/resources/resource_format_text.cpp:289 - Parse Error: Busy. [Resource file res://scene/ennemie/ennemie_basique.tscn:114]
Failed loading resource: res://scene/ennemie/ennemie_basique.tscn. Make sure resources have been imported by opening the project in the editor at least once.
scene/resources/resource_format_text.cpp:289 - Parse Error: Busy. [Resource file res://scene/ennemie/ennemie_speed.tscn:114]
Failed loading resource: res://scene/ennemie/ennemie_speed.tscn. Make sure resources have been imported by opening the project in the editor at least once.
scene/resources/resource_format_text.cpp:289 - Parse Error: Busy. [Resource file res://scene/ennemie/ennemie_fat.tscn:114]
Failed loading resource: res://scene/ennemie/ennemie_fat.tscn. Make sure resources have been imported by opening the project in the editor at least once.

Strangely, these two scenes are actually the same scene, only their names are different. The other scenes in my project do not have this issue.

Could you help me understand what might be causing this error and how to fix it?

I’m new here, so I apologize if this isn’t the right place to ask this question.

Thank you very much for your help.

When you restart you editor do the errors pop up again?

Yes… I tried restarting the editor three times, but the same errors keep appearing.

I found the issue. It was a circular dependency in my code caused by preload() on a scene that used the same script.
Using load() instead fixed it.
Sorry for the inconvenience.

2 Likes