Android export for Godot 4.4rc does not load scene by UID

Godot Version

4.4rc1 (preview build from: Download Godot preview builds – Godot Engine)

Question

I’m migrating to Godot 4.4rc1 and encountering an issue with the Android export. The function change_scene_to_file returns an ERR_CANT_OPEN error instead of opening a new scene on an Android device. The desktop version is working fine.

var error := get_tree().change_scene_to_file(scene_path)
if error != OK:
	print("UINavigation go error: ", {
		"scene_path": scene_path,
		"screen_params": screen_params,
		"error": error,
		"screens": DirAccess.get_files_at("res://Screens"),
		"isExist": FileAccess.file_exists(scene_path),
	})

Debugger output:

UINavigation go error: {
	"scene_path": &"uid://cqs6ojimcb71a",
	"screen_params": <null>,
	"error": 19,
	"screens": [
		"Adventure.tscn.remap",
		"Boot Splash.tscn.remap",
		....
	],
	"isExist": false
}

I did check that the UID is correct and the same as in the *.tscn file.

Did I miss some configuration? What can cause it?

Ok, this may be my issue. I just created an empty project with a screen to navigate between, there are no issue there. I will dig more to figure out why my existing project is broken :melting_face:

The issue is that resource is exist for the scenes, but they are not loading:

"isExist": ResourceLoader.exists(scene_path),
"isNull": load(scene_path) == null

Output:

"isExist": true,
"isNull": true,

Now I’m going to figure out why the scene is not loading

Totaly my bad. The issue is: that I didn’t have correct references to the font in one of my custom theme files :frowning:

P.S. Would save me a lot of time if Godot report missing dependencies in the logcat though…