0 votes

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!

in Engine by (52 points)

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

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!

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.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.