BUG REPORT: Oculus Driver Installer v1.21.5.0 - BadImageFormatException (0x8007000B)
The Problem:
The Oculus/Meta Horizon driver installer consistently fails with:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Daybreak.Core.Native.GetDefaultAudioDevice()
at OculusDriverInstaller.RemoteAudio.Install()
Root Cause:
DaybreakNative.dll is compiled as 32-bit (x86) but the installer runs as a 64-bit process.
This can be verified by checking the DLL in:
C:\Users\[Username]\AppData\Local\Temp\OculusSetup-[GUID]\DaybreakNative.dll
PowerShell verification command:
$bytes = [System.IO.File]::ReadAllBytes("DaybreakNative.dll")
$peHeaderOffset = [BitConverter]::ToInt32($bytes, 0x3C)
$machine = [BitConverter]::ToUInt16($bytes, $peHeaderOffset + 4)
if ($machine -eq 0x014C) { "32-bit (x86)" } elseif ($machine -eq 0x8664) { "64-bit (x64)" }
Result: 32-bit (x86) ← This is the bug
Impact:
- Installer fails after successfully installing most drivers
- Main Meta Horizon application won't install due to rollback
- Prevents users from completing fresh installations
Workarounds That Work:
1. Manual Driver Installation + Older Software Version:
Have File Explorer open to "C:\Users\[Username]\AppData\Local\Temp\"
Run the current installer and let it fail (it will copy driver files to temp first) Quickly copy the entire OculusDriverInstaller folder that appears briefly at C:\Users\[Username]\AppData\Local\Temp\OculusDriverInstaller
Take your quick-copied DriverInstaller folder and right-click > Install each .inf file manually:
- RiftDisplay.inf
- RiftSensor.inf
- OCUSBVID.inf
- Oculus_ViGEmBus.inf
- oculus119b.inf (Audio)
- OCULUSUD.Inf (Rift S Audio)
- riftssensor.inf
- riftsusb.inf
- oculusvad.inf (Virtual Audio)
- android_winusb.inf
- netrtwlanufb.inf
- VirtualScreenDriver.inf
Then: Download and install an older version of Meta Horizon software (pre-v1.77) that doesn't have this bug
2. Use SteamVR Instead:
If you don't need Meta Store games, just use SteamVR.. Works perfectly with manually installed Oculus drivers. No Meta software required
What Meta Needs to Fix:
Replace the 32-bit DaybreakNative.dll with a 64-bit version, or provide a 32-bit installer that matches the DLL architecture.
System Info:
Windows 10 64-bit
Installer Version: 1.21.5.0
All Visual C++ Redistributables installed
Clean Windows installation (SFC/DISM verified)
This is a packaging bug in Meta's installer - the drivers themselves work fine when installed manually.