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've encountered an issue using this library when having a scene with a sky enviroment set up pointing to a viewport texture.
The in-editor output produces no error:
When directly looking at the Editors log you can see it crashes with ERROR: OpenXR Failed to create swapchain 0! [XR_ERROR_RUNTIME_FAILURE]:
Running: /usr/bin/godot --path /home/username/Projects/Godot/OpenXR-Sky-Viewport-Bug --remote-debug 127.0.0.1:6007 --allow_focus_steal_pid 323767 --position 2688,420
Godot Engine v3.5.1.stable.arch_linux - https://godotengine.org
OpenGL ES 2.0 Renderer: AMD Radeon RX Vega (vega10, LLVM 14.0.6, DRM 3.47, 5.19.12-zen1-1-zen)
ERROR: Cannot get path of node as it is not in a scene tree.
at: get_path (scene/main/node.cpp:1780)
ERROR: (Node not found: "Viewport" (relative to "").)
at: get_node (scene/main/node.cpp:1465)
ERROR: ViewportTexture: Path to node is invalid.
at: setup_local_to_scene (scene/main/viewport.cpp:70)
Running on OpenXR runtime: SteamVR/OpenXR 0.1.0
Running on Linux, using SteamVR workaround for issue https://github.com/ValveSoftware/SteamVR-for-Linux/issues/421
OpenXR Runtime only supports OpenGL version 4.3 - 4.6!
OpenXR Graphics: Display %p, Context %lx, Drawable %lx
OpenXR Using OpenGL version: 4.6 (Compatibility Profile) Mesa 22.1.7
OpenXR Using OpenGL renderer: AMD Radeon RX Vega (vega10, LLVM 14.0.6, DRM 3.47, 5.19.12-zen1-1-zen)
WARNING: OpenXR Interaction profile /interaction_profiles/samsung/odyssey_controller is not supported on this runtime
at: parse_interaction_profiles (src/openxr/OpenXRApi.cpp:2875)
WARNING: OpenXR Interaction profile /interaction_profiles/huawei/controller is not supported on this runtime
at: parse_interaction_profiles (src/openxr/OpenXRApi.cpp:2875)
OpenXR Interface initialized
HMD refresh rate is set to 90
OpenXR session idle
ERROR: OpenXR Failed to create swapchain 0! [XR_ERROR_RUNTIME_FAILURE]
at: xr_result (src/openxr/OpenXRApi.h:351)
OpenXR session begun
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v3.5.1.stable.arch_linux
Dumping the backtrace. Please include this when reporting the bug on: https://github.com/godotengine/godot/issues
[1] /usr/lib/libc.so.6(+0x38a00) [0x7f6880769a00] (??:0)
[2] /home/username/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrclient.so(+0x1836ad) [0x7f68037836ad] (??:0)
[3] /home/username/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrclient.so(+0x164cd2) [0x7f6803764cd2] (??:0)
[4] /usr/lib/libopenxr_loader.so.1(xrLocateViews+0x77) [0x7f6838097177] (??:0)
[5] OpenXRApi::process_openxr() (??:0)
[6] /usr/bin/godot(+0x29363f0) [0x55f83a7333f0] (??:0)
[7] /usr/bin/godot(+0x93f14f) [0x55f83873c14f] (??:0)
[8] /usr/bin/godot(+0x905fea) [0x55f838702fea] (??:0)
[9] /usr/lib/libc.so.6(+0x23290) [0x7f6880754290] (??:0)
[10] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f688075434a] (??:0)
[11] /usr/bin/godot(+0x909d55) [0x55f838706d55] (??:0)
-- END OF BACKTRACE --
================================================================
Here's a small test project that crashes as soon as you click the "Initialise VR" button (need to install openxr addon when opening): OpenXR-Sky-Viewport-Bug.zip
The text was updated successfully, but these errors were encountered:
Hello! 👋
I've encountered an issue using this library when having a scene with a sky enviroment set up pointing to a viewport texture.
The in-editor output produces no error:
When directly looking at the Editors log you can see it crashes with
ERROR: OpenXR Failed to create swapchain 0! [XR_ERROR_RUNTIME_FAILURE]
:Here's a small test project that crashes as soon as you click the "Initialise VR" button (need to install openxr addon when opening):
OpenXR-Sky-Viewport-Bug.zip
The text was updated successfully, but these errors were encountered: