Description

Project with bStartInVR enabled and Paper2D plugin disabled, editor crashes on startup

Steps to Reproduce
  1. Create a new project based on the VR template with either a Rift or a Vive setup and ready to go
  2. Enable Project Settings > Description > Start in VR
  3. Open the Edit > Plugins menu and un-check Paper2D
  4. The window will say "restart to apply changes". Select "restart"
  5. On restart, editor will crash.
Callstack
LoginId:ab777d3242d6b7070fc19ab7c76e0e05
EpicAccountId:c687981c4d1f4b3499c0bb1908069a2a

Assertion failed: ModuleManager.IsModuleLoaded(ModuleName) [File:C:\Users\joe.conley\P4\Release-4.15\Engine\Source\Runtime\Core\Public\Modules/ModuleManager.h] [Line: 258] 
Tried to get module interface for unloaded module: 'LevelEditor'


UE4Editor_Core!FDebug::AssertFailed() [c:\users\joe.conley\p4\release-4.15\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor_UnrealEd!FModuleManager::GetModuleChecked<FLevelEditorModule>() [c:\users\joe.conley\p4\release-4.15\engine\source\runtime\core\public\modules\modulemanager.h:258]
UE4Editor_UnrealEd!UEditorEngine::GetActiveViewport() [c:\users\joe.conley\p4\release-4.15\engine\source\editor\unrealed\private\playlevel.cpp:3475]
UE4Editor_OculusRift!FOculusRiftHMD::FindSceneViewport() [c:\users\joe.conley\p4\release-4.15\engine\plugins\runtime\oculusrift\source\oculusrift\private\oculusrifthmd.cpp:1364]
UE4Editor_OculusRift!FOculusRiftHMD::DoEnableStereo() [c:\users\joe.conley\p4\release-4.15\engine\plugins\runtime\oculusrift\source\oculusrift\private\oculusrifthmd.cpp:1382]
UE4Editor_Engine!UEngine::InitializeHMDDevice() [c:\users\joe.conley\p4\release-4.15\engine\source\runtime\engine\private\unrealengine.cpp:2206]
UE4Editor_Engine!UEngine::Init() [c:\users\joe.conley\p4\release-4.15\engine\source\runtime\engine\private\unrealengine.cpp:872]
UE4Editor_UnrealEd!UEditorEngine::InitEditor() [c:\users\joe.conley\p4\release-4.15\engine\source\editor\unrealed\private\editorengine.cpp:557]
UE4Editor_UnrealEd!UEditorEngine::Init() [c:\users\joe.conley\p4\release-4.15\engine\source\editor\unrealed\private\editorengine.cpp:846]
UE4Editor_UnrealEd!UUnrealEdEngine::Init() [c:\users\joe.conley\p4\release-4.15\engine\source\editor\unrealed\private\unrealedengine.cpp:75]
UE4Editor!FEngineLoop::Init() [c:\users\joe.conley\p4\release-4.15\engine\source\runtime\launch\private\launchengineloop.cpp:2513]
UE4Editor_UnrealEd!EditorInit() [c:\users\joe.conley\p4\release-4.15\engine\source\editor\unrealed\private\unrealedglobals.cpp:76]
UE4Editor!GuardedMain() [c:\users\joe.conley\p4\release-4.15\engine\source\runtime\launch\private\launch.cpp:150]
UE4Editor!GuardedMainWrapper() [c:\users\joe.conley\p4\release-4.15\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [c:\users\joe.conley\p4\release-4.15\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

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-42791 in the post.

4
Login to Vote

Cannot Reproduce
ComponentUE - Platform - XR
Affects Versions4.15
Target Fix4.20
CreatedMar 11, 2017
ResolvedJan 17, 2018
UpdatedSep 6, 2020
Pull Requests
3887 - mmdanggg2
View Jira Issue