Load fail , Missing Dependency

Godot Version

  • Godot version : 4.2.1.
  • PC : Windows 10.

Question

This is a machine translation

Hello, I am Xz6. I’ve been using Godot for a little over a week now, and I’m having some trouble with a game I’m making.

After closing and reopening the editor, I found that three of my main scenes showed the “Missing Dependency” error.

My game has a main scene, a menu scene, and a game scene.

  • The main scene’s dependency is missing the menu scene.
  • The menu scene’s dependency is missing the game scene.
  • The game scene is missing a pause scene that appears when the game is paused, and the pause scene is also missing the game scene.
    error message Missing Dependency

Since the functionality of each scene is already well-developed, it would be very difficult to redo them even if I kept the code.

This is the first time I’ve encountered this problem, and I don’t know how to fix it. I hope I can get some help. Thank you.

FILE

This seems like there’s a recursive dependency? Is that even possible?

In any case, worst comes to worst you can open your .tscn files with a text editor like notepad and remove the node references to a scene that is causing issues by hand. It’s not ideal but might help you getting a scene to work/load again with the other scene nodes removed.

I strongly recommend making a backup of your files before editing them this way.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.