Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
karizzia's avatar
karizzia
Honored Guest
2 years ago

Cook/Build Failure in UE5.1.1 using MetaVR Plugin

Hello. I get this error everytime I attempt build an apk for the Quest 1. The build process runs smoothly until the very end when this error shows up.

LogObj: Error: LoadConfig (/Script/OculusXRHMD.Default__OculusXRHMDRuntimeSettings): import failed for XrApi in: OVRPlugin
LogPlayLevel: Error: UAT: LogObj: Error: LoadConfig (/Script/OculusXRHMD.Default__OculusXRHMDRuntimeSettings): import failed for XrApi in: OVRPlugin
LogPlayLevel: Error: UAT: LogInit: Display: LogObj: Error: LoadConfig (/Script/OculusXRHMD.Default__OculusXRHMDRuntimeSettings): import failed for XrApi in: OVRPlugin
LogPlayLevel: Error: UAT: ERROR: Cook failed.
PackagingResults: Error: Launch failed! Unknown Cook Failure

What could be the issue? My development environment is set up correctly from my tests before posting. Any help would be appreciated.

1 Reply

Replies have been turned off for this discussion
  • Werbel's avatar
    Werbel
    Start Member

    I just encountered that.

    Go to Project Settings and in OculusVR plugin check XR API to the other one and go back to OVRPlugin OpenXR again after the reboot. This will change your DefaultEngine.ini:

    -XrApi=LegacyOVRPlugin
    +XrApi=OVRPluginOpenXR