Description
Tested versions
4.5 dev 5
Also tested 4.4.1 and have same bug there. So this can be issue on my side (simply lack of knowledge and I did something wrong) or it broke in 4.5 dev 5 and I just moved bug to 4.4.1 (maybe?)
System information
Windows 11 - Godot 4.5 dev 5
Issue description
I somehow broke scene reference. All I did was assigning scene to exported variable, then everything broke and I started to modify scenes manually (text versions). Then I recreated "main_menu" scene, but it still gives broken reference.
This is error:
E 0:00:02:098 _printerr: res://scenes/game_scene.tscn:82 - Parse Error: [ext_resource] referenced non-existent resource at: res://UI/main_menu.tscn.
<C++ Source> scene/resources/resource_format_text.cpp:39 @ _printerr()
What is kinda interesting is if I don't use @export
and instead use preload(). I don't get initial error on starting game and scene is visible in remote tree in that variable but I still get another error when trying to do anything with it. Instantiate also does not work cause null. So it looks like scene is working, it is there, you can kinda load it. But it returns null everywhere.
Steps to reproduce
To be honest I don't know. Issue started when I tried to assign scene to exported variable, but I didn't had similar issues with other scenes. So its hard to tell. I've attached files above, maybe that can help somehow?
Only clue I have is that it might be somehow connected to Project Settings -> Run -> Main Scene. Because when I've created copy of main_menu scene and used that as exported variable it was fine and not null. There were other issues...but this is all i got :(
Minimal reproduction project (MRP)
(files are to big)
https://we.tl/t-8KJTjF1M2q
Metadata
Metadata
Assignees
Type
Projects
Status