Setting StartInVR to true causes editor to crash on startup

SlimeQ
Thu, 27 Jul 2017 19:12:58 +0000
XR Development

Yesterday I checked the “Start in VR” checkbox in project settings because I want my VR game to play nice with steam. I made a few packages last night without closing the editor, and it all worked fine. Today, I went to start working again and the editor kept crashing during the load process with the following error:

LoginId:59bc19eb4e78c61ea4e511b1d68bead0
EpicAccountId:47f92e8eb2204ae5bba29208b3774322

Assertion failed: ModuleManager.IsModuleLoaded(ModuleName) [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Core\Public\Modules/ModuleManager.h] [Line: 258]
Tried to get module interface for unloaded module: 'LevelEditor'


UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor_UnrealEd!FModuleManager::GetModuleChecked<FLevelEditorModule>() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\modules\modulemanager.h:258]
UE4Editor_UnrealEd!UEditorEngine::GetActiveViewport() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\private\playlevel.cpp:3482]
UE4Editor_SteamVR!FindSceneViewport() [d:\build\++ue4+release-4.16+compile\sync\engine\plugins\runtime\steam\steamvr\source\steamvr\private\steamvrhmd.cpp:55]
UE4Editor_SteamVR!FSteamVRHMD::EnableStereo() [d:\build\++ue4+release-4.16+compile\sync\engine\plugins\runtime\steam\steamvr\source\steamvr\private\steamvrhmd.cpp:1068]
UE4Editor_Engine!UEngine::InitializeHMDDevice() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\engine\private\unrealengine.cpp:2282]
UE4Editor_Engine!UEngine::Init() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\engine\private\unrealengine.cpp:887]
UE4Editor_UnrealEd!UEditorEngine::InitEditor() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:559]
UE4Editor_UnrealEd!UEditorEngine::Init() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:847]
UE4Editor_UnrealEd!UUnrealEdEngine::Init() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:75]
UE4Editor!FEngineLoop::Init() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2588]
UE4Editor_UnrealEd!EditorInit() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\private\unrealedglobals.cpp:76]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\launch.cpp:150]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll

This was very frustrating. I finally fixed it by commenting out bStartInVR=True in DefaultGame.ini. What appears to be happening is that the editor is attempting to start in VR mode and something breaks.

1 post - 1 participant