You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting the following error when launching an exported project in 4.4dev5, which instantly crashes the application:
ERROR: No loader found for resource: res://uid:/cu2wmlv7867bo (expected type: )
at: ResourceLoader::_load (core\io\resource_loader.cpp:327)
ERROR: Failed loading scene: res://uid:/cu2wmlv7867bo.
at: Main::start (main\main.cpp:4214)
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
at: ObjectDB::cleanup (core\object\object.cpp:2342)
Issue 1
Changing resource values such as application/run/main_scene or application/boot_splash/image in Project Settings results in an automatic conversion from their res:// paths to their uid:// paths (this is the value that's stored in project.godot)
Issue 2
The bit of code that determines the main scene path doesn't appear to be expecting a uid:// path. I've tracked down the code that results in res://uid:/cu2wmlv7867bo to main.cpp:4161.
I'm not exactly sure if this code should handle the uid:// path, or if these resource paths saved under project.godot should be reverted back to their res:// paths.
In any case, manually hardcoding the paths to their res:// paths in project.godot has temporarily fixed the issue for me.
Note
I actually don't remember if this was the exact issue I was facing when building on 4.4dev5. This is an issue on latest master that I ran into after having similar issues on 4.4dev5. I built latest master because I thought this very similar issue (#99151) might've been fixed.
Steps to reproduce
Create a project in 4.4dev5
Export that project
Run the project
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
levidavidmurray
changed the title
Main scene fails to load for exported projects in 4.4dev5
Main scene fails to load for exported projects
Dec 6, 2024
Tested versions
System information
Godot v4.4.dev.mono (eb51030) - Windows 10.0.22631 - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (NVIDIA; 32.0.15.6094) - AMD Ryzen 7 2700X Eight-Core Processor (16 threads)
Issue description
I was getting the following error when launching an exported project in
4.4dev5
, which instantly crashes the application:Issue 1
Changing resource values such as
application/run/main_scene
orapplication/boot_splash/image
in Project Settings results in an automatic conversion from theirres://
paths to theiruid://
paths (this is the value that's stored inproject.godot
)Issue 2
The bit of code that determines the main scene path doesn't appear to be expecting a
uid://
path. I've tracked down the code that results inres://uid:/cu2wmlv7867bo
to main.cpp:4161.I'm not exactly sure if this code should handle the
uid://
path, or if these resource paths saved underproject.godot
should be reverted back to theirres://
paths.In any case, manually hardcoding the paths to their
res://
paths inproject.godot
has temporarily fixed the issue for me.Note
I actually don't remember if this was the exact issue I was facing when building on 4.4dev5. This is an issue on latest master that I ran into after having similar issues on 4.4dev5. I built latest master because I thought this very similar issue (#99151) might've been fixed.
Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: