File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -4148,7 +4148,7 @@ int Main::start() {
41484148 const String main_scene = GLOBAL_GET (" application/run/main_scene" );
41494149 if (main_scene.begins_with (" uid://" )) {
41504150 ResourceUID::ID id = ResourceUID::get_singleton ()->text_to_id (main_scene);
4151- if (!ResourceUID::get_singleton ()->has_id (id) && !FileAccess::exists (ResourceUID::get_singleton ()->get_cache_file ())) {
4151+ if (!editor && ! ResourceUID::get_singleton ()->has_id (id) && !FileAccess::exists (ResourceUID::get_singleton ()->get_cache_file ())) {
41524152 OS::get_singleton ()->alert (" Main scene's path could not be resolved from UID. Make sure the project is imported first. Aborting." );
41534153 ERR_FAIL_V_MSG (EXIT_FAILURE, " Main scene's path could not be resolved from UID. Make sure the project is imported first. Aborting." );
41544154 }
You can’t perform that action at this time.
0 commit comments