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?