Skip to main content
New Participant
July 5, 2023

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.

    This topic has been closed for replies.

    1 reply

    New Participant
    July 9, 2023

    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