godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.33k stars 21.24k forks source link

Pico Export Black screen with error #99198

Closed maddytroupe closed 1 week ago

maddytroupe commented 1 week ago

Tested versions

Godot 4.3 Stable Mobile renderer Godot XR tools Version 4.3.3 OpenXRvendors plugin version 3.0.1 Pico 4

System information

windows 11- Godot 4.3 - Mobile renderer

Issue description

Error found in adb logcat

USER ERROR: Failed loading resource: res://.godot/exported/133200997/export-3fbe48bae46ab863f07087caf1a9a7c6-main2.scn. Make sure resources have been imported by opening the project in the editor at least once. USER ERROR: File 'res://scenes/xrplayer/main2.tscn' can't be loaded, as it uses a format version (6) or engine version (4.3) which are not supported by your engine version (4.2).

The main2.tscn keeps the XR nodes and gets opened in Godot editor without any dependency or other issue. the game runs fine in godot also.

below is the full log

11-13 15:04:31.919 8245 9612 E godot : at: _load (core/io/resource_loader.cpp:275) 11-13 15:04:31.942 8245 9612 E godot : USER ERROR: Can't load dependency: res://scenes/xrplayer/main2.tscn. 11-13 15:04:31.942 8245 9612 E godot : at: parse_variant (core/io/resource_format_binary.cpp:459) 11-13 15:04:31.942 8245 9612 E godot : USER ERROR: Error when trying to parse Variant. 11-13 15:04:31.942 8245 9612 E godot : at: parse_variant (core/io/resource_format_binary.cpp:503) 11-13 15:04:31.942 8245 9612 E godot : USER ERROR: Error when trying to parse Variant. 11-13 15:04:31.942 8245 9612 E godot : at: parse_variant (core/io/resource_format_binary.cpp:490) 11-13 15:04:31.942 8245 9612 E godot : USER ERROR: Failed loading resource: res://.godot/exported/133200997/export-99268e1d90ef06ed2156fdc9ce226865-loading.scn. Make sure resources have been imported by opening the project in the editor at least once. 11-13 15:04:31.942 8245 9612 E godot : at: _load (core/io/resource_loader.cpp:275) 11-13 15:04:31.942 8245 9612 E godot : USER ERROR: Failed loading scene: res://UI/loading/loading.tscn. 11-13 15:04:31.942 8245 9612 E godot : at: start (main/main.cpp:3431) 11-13 15:04:31.942 8245 9612 E godot : USER WARNING: 2D MSAA is not yet supported for GLES3. 11-13 15:04:31.942 8245 9612 E godot : at: render_target_set_msaa (drivers/gles3/storage/texture_storage.cpp:2236) 11-13 15:04:31.943 8245 9612 E godot : USER ERROR: Condition "default_certs != nullptr" is true. 11-13 15:04:31.943 8245 9612 E godot : at: load_default_certificates (modules/mbedtls/crypto_mbedtls.cpp:342) 11-13 15:04:31.944 8245 9612 E godot : USER ERROR: File 'res://scenes/xrplayer/main2.tscn' can't be loaded, as it uses a format version (6) or engine version (4.3) which are not supported by your engine version (4.2). 11-13 15:04:31.944 8245 9612 E godot : at: open (core/io/resource_format_binary.cpp:996) 11-13 15:04:31.944 8245 9612 E godot : USER ERROR: Failed loading resource: res://.godot/exported/133200997/export-3fbe48bae46ab863f07087caf1a9a7c6-main2.scn. Make sure resources have been imported by opening the project in the editor at least once. 11-13 15:04:31.944 8245 9612 E godot : at: _load (core/io/resource_loader.cpp:275) 11-13 15:04:31.967 8245 9612 E godot : USER ERROR: Can't load dependency: res://scenes/xrplayer/main2.tscn. 11-13 15:04:31.968 8245 9612 E godot : at: parse_variant (core/io/resource_format_binary.cpp:459) 11-13 15:04:31.968 8245 9612 E godot : USER ERROR: Error when trying to parse Variant. 11-13 15:04:31.968 8245 9612 E godot : at: parse_variant (core/io/resource_format_binary.cpp:503) 11-13 15:04:31.968 8245 9612 E godot : USER ERROR: Error when trying to parse Variant. 11-13 15:04:31.968 8245 9612 E godot : at: parse_variant (core/io/resource_format_binary.cpp:490) 11-13 15:04:31.968 8245 9612 E godot : USER ERROR: Failed loading resource: res://.godot/exported/133200997/export-99268e1d90ef06ed2156fdc9ce226865-loading.scn. Make sure resources have been imported by opening the project in the editor at least once.

Steps to reproduce

Godot 4.3 Stable Godot XR tools Version 4.3.3 OpenXRvendors plugin version 3.0.1 Pico 4

The project was started in 4.2 . Then I updated the project to 4.3 Seeing the error, I started working with a back up version, reimported everything, downloaded the compatible plugins. but still this error comes.

Tried again using godot 4.2 , but again this error pops up and shows only black screen and the Pico cirlce

Minimal reproduction project (MRP)

errorlog.txt project.godot and export.zip

maddytroupe commented 1 week ago

Good News. Issue solved and my game is running nicely on Pico. The problem was I didnt enable OpenXR plugin. But the error I mentioned is still visible in adb logcat. But it doesnt stop the app from running.