Godot version
4.2 fa1fb2a
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
I have a scene that has a dependency on a tres resource (doesn't matter type). You can't open it, there is parse error. In this case:
Cannot open file 'res://new_gradient_texture_2d.tres'.
Failed loading resource: res://new_gradient_texture_2d.tres. Make sure resources have been imported by opening the project in the editor at least once.
C:\godot_source\scene/resources/resource_format_text.cpp:284 - res://s.tscn:6 - Parse Error:
Failed loading resource: res://s.tscn. Make sure resources have been imported by opening the project in the editor at least once.
C:\godot_source\editor/editor_data.cpp:626 - Index p_idx = 1 is out of bounds (edited_scene.size() = 1).
A missing dependencies prompt shows normally, but pressing "Open Anyway" will just print the same errors and fail again. If an importable resource is missing (e.g. icon.svg), the scene will open normally.
Steps to reproduce
- Create scene
- Add any text-based resource to it (GradientTexture for example)
- Close the scene
- Delete resource
- Try to open the scene
Minimal reproduction project
s.tscn.txt
Godot version
4.2 fa1fb2a
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
I have a scene that has a dependency on a tres resource (doesn't matter type). You can't open it, there is parse error. In this case:
A missing dependencies prompt shows normally, but pressing "Open Anyway" will just print the same errors and fail again. If an importable resource is missing (e.g. icon.svg), the scene will open normally.
Steps to reproduce
Minimal reproduction project
s.tscn.txt