Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
3DLive's avatar
3DLive
Explorer
8 years ago

Crash in Packaged Build after deleting OpenVR

Hi there,

I am experiencing a somewhat unique issue and couldn't find any other support topics regarding this. To upload a packaged build to the Oculus Store, the openvr_api.dll needs to be deleted from the Engine/Binaries/ThirdParty/ folder (they mention it conflicts with their systems). However, after deleting this file, my package crashes immediately on launch with the following error:

[2018.02.28-18.48.33:069][  0]LogEngine: Initializing Engine...
[2018.02.28-18.48.33:320][ 0]LogWindows: Error: === Critical error: ===
[2018.02.28-18.48.33:320][ 0]LogWindows: Error:
[2018.02.28-18.48.33:320][ 0]LogWindows: Error: Fatal error!
[2018.02.28-18.48.33:320][ 0]LogWindows: Error:
[2018.02.28-18.48.33:320][ 0]LogWindows: Error: Unhandled Exception: 0xc06d007e
[2018.02.28-18.48.33:320][ 0]LogWindows: Error:
[2018.02.28-18.48.33:320][ 0]LogWindows: Error: [Callstack] 0x000000006A984008 UnknownFunction []
[2018.02.28-18.48.33:320][ 0]LogWindows: Error: [Callstack] 0x00000000EBAA9FC0 UnknownFunction []
[2018.02.28-18.48.33:320][ 0]LogWindows: Error: [Callstack] 0x00000000EBAA9FC0 UnknownFunction []
[2018.02.28-18.48.33:320][ 0]LogWindows: Error:
[2018.02.28-18.48.33:341][ 0]LogExit: Executing StaticShutdownAfterError


Based on the logs, this crash appears to happen before the default map has loaded. Has anyone else experienced anything like this, or gone through the Oculus submission process and been able to launch their app successfully without OpenVR in their package directory? I should mention, this issue is specifically present when the package is launched without an Oculus headset connected. If the headset is connected and running, the app appears to launch normally. I am running engine version 4.18.3 w/ VRWorks.

Thanks so much!

1 Reply

Replies have been turned off for this discussion
  • Found the solution after a bit of digging through the plugins page in Unreal. Turns out the SteamVR plugin was still enabled even though the .uproject had it marked as enabled=false. Instead of manually deleting the OpenVR .dll file, I disabled it from the plugins page. After restarting the editor and compiling a build, this file was no longer packaged with the project, and the crash was completely eradicated!