Godot Version
4.4 & 4.5
Question
I am building a VR Appfor Quest 2, I am able to deploy successfully but when wear the headset it shows “XR fail to initialize” and app will run in normal mode. I imported Godot XR plugin and enabled plugin.
Error in Editor while testing-
”E 0:00:00:383 open_dynamic_library: Can’t open dynamic library: libopenxr_loader.so. Error: dlopen failed: library “libopenxr_loader.so” not found. <C++ Error> Parameter “p_library_handle” is null. <C++ Source> platform/android/os_android.cpp:244 @ open_dynamic_library() E 0:00:00:383 open_dynamic_library: Can’t open dynamic library: libopenxr_loader.so. Error: dlopen failed: library “libopenxr_loader.so” not found. <C++ Error> Parameter “p_library_handle” is null. <C++ Source> platform/android/os_android.cpp:244 @ open_dynamic_library() W 0:00:00:383 initialize_openxr_module: OpenXR was requested but failed to start. Please check if your HMD is connected. Godot will start in normal mode. <C++ Source> modules/openxr/register_types.cpp:203 @ initialize_openxr_module() E 0:00:16:149 swap_chain_resize: Condition “err != VK_SUCCESS” is true. Returning: ERR_CANT_CREATE <C++ Source> drivers/vulkan/rendering_device_driver_vulkan.cpp:3147 @ swap_chain_resize()”
I am stuck please guide me with the solution. I tried with many export template
Here is all screenshot for my project setup.
