Read the first useful error
On this page
DEBUGGING / LOGS AND SIGNALS
PC VR#
Run the exported Godot project with the intended runtime active. The editor Output and Debugger tabs show engine and script errors. For a file you can compare between runs, start Godot from the exported project directory and choose a writable log path. Use the same arguments with a desktop game executable where supported.
godot --path . --xr-mode on --verbose --log-file xr-run.logIn the Linux packaging check for this guide, the loader first said it failed to determine active runtime file path, then Godot reported OpenXR was requested but failed to start. The first message points to the missing PC runtime. Editing a room collider would have had no effect.
Standalone Android#
adb devices -ladb -s SERIAL logcat -v time > headset-log.txtStart the capture, launch the installed game, reproduce the issue once, then stop the capture with Ctrl+C. Search around the launch time for OpenXR, Godot, AndroidRuntime and your package ID. A missing native library points toward an ABI or plugin packaging problem. A loader or session error points toward the XR preset or runtime. For a crash on launch, capture before starting the app so you retain the first failure.
Find out which button reached PCA#
In the exported VR player, use a breakpoint in _button_down or add this temporary line at the beginning of that function. Run a debug build, press one control and inspect its name and chosen action. The controller variable is already a parameter of that function.
print(controller.name, " ", action_name, " -> ", _mapped_action(action_name))No message? Check that the XR session has focus, the hand is tracking and the physical binding exists. A name followed by none points to PCA’s mapping or override. The correct action with no effect sends you to its gameplay conditions. Remove temporary logs before release.
