X Tutup
Skip to content

Allow fixing indirect missing dependencies manually#112187

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
timothyqiu:deps-manual-ii
Nov 5, 2025
Merged

Allow fixing indirect missing dependencies manually#112187
Repiteo merged 1 commit intogodotengine:masterfrom
timothyqiu:deps-manual-ii

Conversation

@timothyqiu
Copy link
Member

Closes godotengine/godot-proposals#12681
Improved version of my #107580

Currently, the dependency error dialog is only shown for missing dependencies that are referenced directly by the opening scene. Therefore, if the missing dependency is deeply nested, manually fixing it becomes cumbersome. I guess this is the main reason we devote to improving automatic solutions. However, there are situations where manual fixing is inevitable.

Before After
Only error messages will be displayed. Clicking OK force opens the scene, making it easy to permanently damage the file. The dependency error dialog now supports listing and editing indirect missing dependencies.
Folder Button
Locates the missing resource file manually.
Pen Button
Opens the Edit Dependency dialog of the owner in case you want a more detailed view / tool.
Red Cross Mark
If all referers have fixed this dependency, it turns into a green checkmark.

In most cases, clicking the folder button to locate the missing file is sufficient. The tree item is collapsed by default, and there is no need to use the pen button.

The main difference compared to the old version is that it's no longer need to open the Dependency Editor for each file referencing the missing file. Missing files can now be relocated directly within the dependency error dialog. This makes it much easier to resolve deeply nested missing items with multiple references.

The tree view now lists missing files and the resources that reference them, rather than listing the direct dependencies of the currently opening scene and the missing files within them.

Test project with several missing dependencies: deps-mrp.zip

@timothyqiu timothyqiu requested a review from a team October 30, 2025 10:11
@AThousandShips AThousandShips added this to the 4.x milestone Oct 30, 2025
@KoBeWi KoBeWi modified the milestones: 4.x, 4.6 Nov 4, 2025
@Repiteo Repiteo merged commit 019889d into godotengine:master Nov 5, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 5, 2025

Thanks!

@timothyqiu timothyqiu deleted the deps-manual-ii branch November 5, 2025 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve behavior of "Load failed due to missing dependencies" dialog

4 participants

X Tutup