godot: OpenXR game crashes when run

Godot version

master (db6976e)

System information

Pop_OS, Nvidia GTX 1070, nvidia-driver 525.60.11, Vulkan, Valve Index, SteamVR (beta)

Issue description

I created a scene with an XR origin, camera and two controllers, enabled OpenXR from project settings and enabled XR shaders. When I try to run the project, the window pops up for a moment and then crashes. Godot produces this in the standard output:

Godot Engine v4.0.beta.custom_build.db6976eed - https://godotengine.org
OpenXR: Running on OpenXR runtime:  SteamVR/OpenXR   0.1.0
OpenXR: XrGraphicsRequirementsVulkan2KHR:
 - minApiVersionSupported:  1.0.0
 - maxApiVersionSupported:  1.2.0
Vulkan API 1.3.224 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1070

ERROR: OpenXR: Unsupported io path /interaction_profiles/htc/vive_cosmos_controller/use
r/hand/left/input/system/click
   at: interaction_profile_supports_io_path (modules/openxr/openxr_api.cpp:271)
ERROR: OpenXR: Unsupported io path /interaction_profiles/htc/vive_focus3_controller/use
r/hand/left/input/system/click
   at: interaction_profile_supports_io_path (modules/openxr/openxr_api.cpp:271)
ERROR: OpenXR: Unsupported io path /interaction_profiles/htc/vive_focus3_controller/use
r/hand/right/input/trigger/touch
   at: interaction_profile_supports_io_path (modules/openxr/openxr_api.cpp:271)
ERROR: OpenXR: Unsupported io path /interaction_profiles/htc/vive_focus3_controller/use
r/hand/left/input/thumbrest/touch
   at: interaction_profile_supports_io_path (modules/openxr/openxr_api.cpp:271)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta.custom_build (db6976eed4c59b3a320cb26938898c732e
f6b7ca)
Dumping the backtrace. Please include this when reporting the bug on: https://github.co
m/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f78a4242520] (??:0)
[2] /home/telku/.steam/debian-installation/steamapps/common/SteamVR/bin/linux64/vrclien
t.so(+0x264a78) [0x7f789e064a78] (??:0)
[3] /home/telku/.steam/debian-installation/steamapps/common/SteamVR/bin/linux64/vrclien
t.so(+0x1ad4da) [0x7f789dfad4da] (??:0)
[4] /home/telku/.steam/debian-installation/steamapps/common/SteamVR/bin/linux64/vrclien
t.so(+0x242769) [0x7f789e042769] (??:0)
[5] /lib/x86_64-linux-gnu/libc.so.6(+0x94b43) [0x7f78a4294b43] (??:0)
[6] /lib/x86_64-linux-gnu/libc.so.6(+0x126a00) [0x7f78a4326a00] (??:0)
-- END OF BACKTRACE --
================================================================

Steps to reproduce

Create the scene as described above and then run the project.

Minimal reproduction project

g3test.zip

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 1
  • Comments: 23 (13 by maintainers)

Most upvoted comments

I’ve had crashes with a similar backtrace as well on Fedora. It just randomly happens sometimes and then keeps happening until I restart SteamVR. It never happens the first time connecting after starting SteamVR. It happens for me with the Godot 3 OpenVR plugin as well, which makes me think it’s a Linux-specific SteamVR bug. Might should open an issue over there?

I’ve noticed this pattern with some other games as well actually, sometimes the game can’t connect to SteamVR until I restart SteamVR. Something to do with the VR compositor I think.