godot icon indicating copy to clipboard operation
godot copied to clipboard

Fix Dependencies window is blank

Open TokisanGames opened this issue 2 years ago • 3 comments

Godot version

Alpha13 to Beta 3+

System information

Win 10/64 NVIDIA GeForce GTX 1060/PCIe/SSE2 Win 11/64 RTX 3070

Issue description

On my main project I haven't had any issues with fix dependencies being blank. However when setting up a new test project and copying a simple gd4 scene into it, I came across this problem that persisted across versions.

image

Both of these are broken and should display on the next screen:

image

Console log. There is no code in this project, so this is all the engine:


Godot Engine v4.0.alpha.custom_build.d29e95687 - https://godotengine.org
Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1060

Project is missing: D:/GD/TestOcclusion/project.godot
Editing project: D:/GD/test_object (D:::GD::test_object)

Godot Engine v4.0.alpha.custom_build.d29e95687 - https://godotengine.org
ERROR: Condition "!windows.has(p_window)" is true.
   at: window_resize (drivers/vulkan/vulkan_context.cpp:1479)
Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1060

WARNING: FBX file import is enabled, but no FBX2glTF path is configured. FBX files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:92)
WARNING: res://object.tscn:3 - ext_resource, invalid UUID: uid://1cxvggmwi38o - using text path instead: res://assets/models/rocks/max_stones/Stone001s.obj
     at: load (scene/resources/resource_format_text.cpp:448)
ERROR: Resource file not found: res://assets/models/rocks/max_stones/Stone001s.obj.
   at: (core/io/resource_loader.cpp:226)
WARNING: res://object.tscn:4 - ext_resource, invalid UUID: uid://bspkle8ilq324 - using text path instead: res://assets/models/rocks/materials/M_rock028_moss_20x.tres
     at: load (scene/resources/resource_format_text.cpp:448)
ERROR: Cannot open file 'res://assets/models/rocks/materials/M_rock028_moss_20x.tres'.
   at: (scene/resources/resource_format_text.cpp:1558)
ERROR: Failed loading resource: res://assets/models/rocks/materials/M_rock028_moss_20x.tres. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:221)
ERROR: res://object.tscn:10 - Parse Error: [ext_resource] referenced non-loaded resource at: res://assets/models/rocks/max_stones/Stone001s.obj
   at: _parse_ext_resource (scene/resources/resource_format_text.cpp:177)
ERROR: res://object.tscn:11 - Parse Error: [ext_resource] referenced non-loaded resource at: res://assets/models/rocks/materials/M_rock028_moss_20x.tres
   at: _parse_ext_resource (scene/resources/resource_format_text.cpp:177)
ERROR: res://object.tscn:15 - Parse Error: [ext_resource] referenced non-loaded resource at: res://assets/models/rocks/max_stones/Stone001s.obj
   at: _parse_ext_resource (scene/resources/resource_format_text.cpp:177)
ERROR: res://object.tscn:16 - Parse Error: [ext_resource] referenced non-loaded resource at: res://assets/models/rocks/materials/M_rock028_moss_20x.tres
   at: _parse_ext_resource (scene/resources/resource_format_text.cpp:177)
ERROR: res://object.tscn:20 - Parse Error: [ext_resource] referenced non-loaded resource at: res://assets/models/rocks/max_stones/Stone001s.obj
   at: _parse_ext_resource (scene/resources/resource_format_text.cpp:177)
ERROR: res://object.tscn:21 - Parse Error: [ext_resource] referenced non-loaded resource at: res://assets/models/rocks/materials/M_rock028_moss_20x.tres
   at: _parse_ext_resource (scene/resources/resource_format_text.cpp:177)
ERROR: Index p_idx = 1 is out of bounds (edited_scene.size() = 1).
   at: remove_scene (editor/editor_data.cpp:530)

Above is from open until the error dialog popped up. The block below is after clicking Fix Dependences:

ERROR: Condition "!ResourceUID::get_singleton()->has_id(uid)" is true. Continuing.
   at: _update_list (editor/dependency_editor.cpp:195)
ERROR: Condition "!ResourceUID::get_singleton()->has_id(uid)" is true. Continuing.
   at: _update_list (editor/dependency_editor.cpp:195)
ERROR: Transient parent has another exclusive child.
   at: (scene/main/window.cpp:449)

Steps to reproduce

Open the MRP, open the scene, then click fix dependencies.

Minimal reproduction project

test_object.zip

TokisanGames avatar Aug 01 '22 11:08 TokisanGames

Can you reproduce this after enabling Single Window Mode in the Editor Settings then restarting the editor?

Calinou avatar Oct 09 '22 21:10 Calinou

It's still an issue in Beta 3. Single Window Mode does not fix the issue. It's blank either way.

TokisanGames avatar Oct 18 '22 16:10 TokisanGames

I am running into this same bug, with the slight difference that it does show the dependencies that aren't broken, but does not show the ones that are missing and need to be fixed.

OS: Ubuntu 22.04 Godot Build: v4.0.stable.official [92bee43ad]

RobTheFiveNine avatar Mar 07 '23 22:03 RobTheFiveNine

I have some inherited scenes based on fbx files and have since found it better to convert the fbx files to glb outside Godot. I thought I could simply fix the dependencies but the dependencies window is empty. It's producing this error message whenever I open the window: editor/dependency_editor.cpp:195 - Condition "!ResourceUID::get_singleton()->has_id(uid)" is true. Continuing.

Windows 10 - Godot v4.0.3.rc1.mono.official [2d74ee0e5]

KuroiRoy avatar Apr 29 '23 19:04 KuroiRoy