Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000058

Hello
I’m trying to use Unreal 5.4.4 with MetaXR. Apparently everything works fine with 5.4.4, but, when i enable MetaXR Plugin, I get this error:

Before I worked with Unreal 5.3.2 with MetaXR enabled, and I never occur in similar issues.
I’ve already done the following attempts without any success:

  • I’ve tried MetaXR Plugin v69 both from marketplace as well as manually from meta website
  • I’ve tried to include the Plugin inside the Project folder
  • I used both prebuilt ue engine as well as precompiled version from github (specificaly the Meta Fork)
  • Tried to update my GPU driver (clean install)
  • Tried to disable and reenable the plugin (when the plugin is disabled the project loads fine)
  • Tried to disable and enable OpenXR, but it doesn’t make any difference

Apparently the problem regards Meta Plugin, but I can’t find any way to make it work. I’ve googled this issue around for two days but I didn’t find any solution.

My specs are:

Processor Intel(R) Core™ i9-10885H CPU @ 2.40GHz
Video Card Quadro RTX 5000 with Max-Q Design
Video Card #2 Intel(R) UHD Graphics
Operating System Windows 10
RAM 64 GB

Here it is the report:

*LoginId:e4bad5464cf64dba468f77a992b22076
EpicAccountId:66fe614a21f34963ab5f25ea37878ca0

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000058

openxr_loader
openxr_loader
openxr_loader
ViveOpenXRMR
ViveOpenXRFacialTracking
OVRPlugin
OVRPlugin
OVRPlugin
UnrealEditor_OculusXRHMD!FOculusXRHMDModule::PreInit() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\OculusXR\Source\OculusXRHMD\Private\OculusXRHMDModule.cpp:201]
UnrealEditor_OculusXRHMD!OculusXRHMD::FOculusXRHMD::InitializeSession() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\OculusXR\Source\OculusXRHMD\Private\OculusXRHMD.cpp:2964]
UnrealEditor_OculusXRHMD!OculusXRHMD::FOculusXRHMD::InitDevice() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\OculusXR\Source\OculusXRHMD\Private\OculusXRHMD.cpp:3054]
UnrealEditor_OculusXRHMD!OculusXRHMD::FSplash::Startup() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\OculusXR\Source\OculusXRHMD\Private\OculusXRHMD_Splash.cpp:163]
UnrealEditor_OculusXRHMD!OculusXRHMD::FOculusXRHMD::Startup() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\OculusXR\Source\OculusXRHMD\Private\OculusXRHMD.cpp:2833]
UnrealEditor_OculusXRHMD!FOculusXRHMDModule::CreateTrackingSystem() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\OculusXR\Source\OculusXRHMD\Private\OculusXRHMDModule.cpp:354]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll*

You have the Vive OpenXR API layers installed, which have known issues when using other OpenXR runtimes.

You can fix it by disabling the layers, this can be done either though the SteamVR settings, or with a third-party tool like: https://github.com/fredemmott/OpenXR-API-Layers-GUI

1 Like

It works! You saved me.
Indeed, althouth all OpenXR was disabled in my project, turned out that my OpenXR layers were still active by the time I was using my old Vive with SteamVR.
For anyone facing this issue, I suggest to use OpenXR-API-Layers-GUI since it is very easy to use and does the job (disable all the layers should me enough)

Many thanks @Rectus_SA