Ok, one of the programmers at Oculus looked at this thread and had the following suggestions:
“Scanning through the code, the most likely cause is that the DLL failed to load.
It could be missing C runtime DLL. Our current release compiles with /MD. This will be changed to /MT for the next release to prevent this kind of issue.”
And:
“Another thought: possibly trying to load 32-bit DLL in 64-bit process?”
So, related to his suggestions, we’ve talked about your system itself being 64 bit, but are you accidentally compiling the 32 bit version of UE4? The 64 bit oculus dll we’re using won’t work with 32 bit UE4.
His comment about the /MD vs /MT is interesting. The /MD compile option dynamically links to the c-runtime lib vs statically linking. /MD, -MT, -LD (Use Run-Time Library) | Microsoft Learn