Description

If you enable VR Mode auto entry, close the project, and then attempt to launch the engine again from the Binary launcher while the HMD is active (being Worn), the Project Browser will crash

Steps to Reproduce
  1. Open a project in the editor (QAGame was used for this)
  2. Open Editor Preferences
  3. Under VR Mode, enable Auto-Entry
  4. Close the engine
  5. Put the HMD on your head, with the display pulled low over the forehead
    1. This will activate the HMD sensor while allowing you to still see and repro the crash at the same time
  6. Launch 4.16 from the Binary GameDev launcher

Expected Result: Project browser allows you to pick a project and start the editor. Engine will automatically enter VR Mode

Outcome: Crash after Project Browser opens

Callstack
LoginId:f0cf4f81416964c4b0110db80482c6fe
EpicAccountId:9de9a5c85865483188f562671ebefc58

Assertion failed: IsValid() [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 793] 



UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor_VREditor!TSharedPtr<ILevelEditor,0>::ToSharedRef() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\templates\sharedpointer.h:794]
UE4Editor_VREditor!UVREditorMode::Enter() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\vreditor\vreditormode.cpp:201]
UE4Editor_VREditor!FVREditorModeManager::EnableVREditor() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\vreditor\vreditormodemanager.cpp:129]
UE4Editor_VREditor!FVREditorModeManager::Tick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\vreditor\vreditormodemanager.cpp:56]
UE4Editor_UnrealEd!FTickableEditorObject::TickObjects() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\public\tickableeditorobject.h:21]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:1400]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:386]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3119]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
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:264]
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-44299 in the post.

0
Login to Vote

Fixed
ComponentUE - Editor - Workflow Systems
Affects Versions4.16
Target Fix4.16
Fix Commit3407004
Main Commit3427032
Release Commit3407004
CreatedApr 24, 2017
ResolvedApr 25, 2017
UpdatedJan 19, 2024
View Jira Issue