My project is broken?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Agentfox

Recently I organized my project all into folders and was in the process of fixing all the broken dependencies when I tried to run my project. At first, it kept throwing an error at this line, even though it should be fine:

onready var SpaceBattleLarge = preload("res://Scenes/Space_Large_Scale.tscn")

so, I changed it from preload to load and it fixed, or at least stopped throwing errors. Now it just exits out the moment the boot splash disappears. I checked the debugger and the output, neither have errors, and the Editor’s command window says
ERROR: Failed loading scene: res://Scenes/MainMenu.tscn At: main/main.cpp:1738
I tried reloading the project and was met with this:
Error Broken Dependencies

If anyone could help that would be awesome.
Thanks in advance!

Open it in notepad++ or other text editor, You’ll see something like

[ext_resource path="res://LoadScreen.gd" type="Script" id=1]
[ext_resource path="res://Assets/Styles/StandardPanel.tres" type="StyleBox" id=2]
[ext_resource path="res://Assets/LoadWheel.png" type="Texture" id=3]

Likely one of those links is a broken dependency

Squatnet | 2019-06-20 18:39

The trouble is though, I didn’t write any of those scripts or import any of those, so is this a Godot bug?

P.S., sorry it took so long to respond, I was out of town!

Agentfox | 2019-06-24 21:28

This is often caused by moving files around in the filesystem outside of godot. If its done inside of Godot then Godot usually updates the references.

Squatnet | 2019-08-04 08:54