OSVR / OSVR-Unreal

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

UE-30442 - OSVR crashes UE4 on exit of -game -vr #92

Closed JeroMiya closed 8 years ago

JeroMiya commented 8 years ago

Repro rate: 3/5

  1. Set up OSVR
  2. Start OSVR_Server
  3. Run Ue4Editor.exe QAGAME Tm­VRSMOKE -­game -­vr
  4. Open the console (~)
  5. Enter the "Exit" command.

stacktrace:

Assertion failed: ModuleInfo.Module.IsUnique() [File:d:\Dev‐
VR\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp] [Line: 545]
UE4Editor_Core!FDebug::AssertFailed() [d:\dev‐vr\engine\source\runtime\core\private\misc\outputdevice.cpp:397]
UE4Editor_Core!FModuleManager::UnloadModule() [d:\dev‐
vr\engine\source\runtime\core\private\modules\modulemanager.cpp:545]
UE4Editor_Core!FModuleManager::UnloadModulesAtShutdown() [d:\dev‐
vr\engine\source\runtime\core\private\modules\modulemanager.cpp:669]
UE4Editor!FEngineLoop::Exit() [d:\dev‐vr\engine\source\runtime\launch\private\launchengineloop.cpp:2439]
UE4Editor!GuardedMain() [d:\dev‐vr\engine\source\runtime\launch\private\launch.cpp:159]
UE4Editor!GuardedMainWrapper() [d:\dev‐vr\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\dev‐vr\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:255]
kernel32
ntdll

notes:

Sometimes (3/5), when exiting -­game -­vr with the OSVR running, UE4 will crash.

my notes: possibly related to https://github.com/OSVR/OSVR-Unreal/issues/86 and https://github.com/OSVR/OSVR-Unreal/issues/87

JeroMiya commented 8 years ago

I cannot reproduce this after https://github.com/OSVR/OSVR-Unreal/issues/97 but I had trouble reproducing it before then as well. Tentatively marking this as solved.