godot_openxr_vendors icon indicating copy to clipboard operation
godot_openxr_vendors copied to clipboard

Can't Use Pico Neo 3 Pro. Failed to Start OPenXR

Open Blixtdraken opened this issue 6 months ago • 1 comments

image

I get this error upon building and godot can't find XR Interface using this code

extends Node3D


var xr_interface: XRInterface

func _ready():
	
	xr_interface = XRServer.find_interface("OpenXR")
	
	if xr_interface and xr_interface.is_initialized():
		print("OpenXR initialized successfully")

		# Turn off v-sync!
		DisplayServer.window_set_vsync_mode(DisplayServer.VSYNC_DISABLED)

		# Change our main viewport to output to the HMD
		get_viewport().use_xr = true
	else:
		print("OpenXR not initialized, please check if your headset is connected")


I have selected pico as vendor in export settings.

I am sure the code gets executed on the account that I get the output "OpenXR not initialized, please check if your headset is connected" .

Blixtdraken avatar Aug 27 '24 07:08 Blixtdraken