OSVR / OSVR-Unreal

OSVR plugin for Unreal Engine
Apache License 2.0
89 stars 45 forks source link

UE 4.12p4 Editor crashes when the OSVR plugin is enabled #72

Closed demonixis closed 8 years ago

demonixis commented 8 years ago

HI,

Unreal Engine 4.12 preview 4 has the OSVR plugin so we can try to enable it. However when I enable it, even if I disable all other VR plugins, the editor crashes on load. The project can't be loaded because the editor crashes at the startup.

The crash log

MachineId:D06D22D7404F86A522C115B3E576F736
EpicAccountId:796467ac59684a3f947290d2b8514f11

Unknown exception - code c06d007e (first/second chance not available)

KERNELBASE
UE4Editor_OSVR!_delayLoadHelper2()
UE4Editor_OSVR!_tailMerge_osvrClientKit_dll()
UE4Editor_OSVR!OSVREntryPoint::OSVREntryPoint()
UE4Editor_OSVR!FOSVR::StartupModule()
UE4Editor_Core!FModuleManager::LoadModuleWithFailureReason() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\modules\modulemanager.cpp:480]
UE4Editor_Projects!FModuleDescriptor::LoadModulesForPhase() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\projects\private\moduledescriptor.cpp:398]
UE4Editor_Projects!FPluginManager::LoadModulesForEnabledPlugins() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\projects\private\pluginmanager.cpp:540]
UE4Editor!FEngineLoop::LoadStartupModules() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2155]
UE4Editor!FEngineLoop::PreInit() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:1609]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launch.cpp:114]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

I hope it can help you to fix it.

How to reproduce this bug

  1. Start the editor with the FPS project (tested with Blueprint)
  2. Go to menu / edit / plugins
  3. Check the OSVR plugin
  4. (optional) You can uncheck all other VR plugins
  5. Click on restart the editor
  6. The editor crashes
JeroMiya commented 8 years ago

Tested with latest release builds and code on master branch. Seems to work OK. Feel free to re-open if you're still having crashes though.

demonixis commented 8 years ago

Hi, sorry to not have closed this issue before, but yes it works well with the latest release. Thanks!