Description

Qutting the engine with VR Editor on causes a crash. I could not determine a way to close the VR Editor internally so I terminated the Project by using the Desktop.

Many users among the community are also experiencing this crash.

Steps to Reproduce
  1. Create a new project (No template or starter content needed)
  2. Open the VR Editor
  3. Close the Project (You cannot perform this action inside the VR editor, So You will need to close it from the Desktop)
  4. Save all assets if asked

Result: The editor crashes
Expected Result: The Editor does not crash

Callstack
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:136]
UE4Editor_VREditor!FVREditorModeManager::Tick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\vreditor\vreditormodemanager.cpp:108]
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]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Editor - Workflow Systems
Affects Versions4.16
Target Fix4.16.2
Fix Commit3484570
CreatedMay 25, 2017
ResolvedJun 12, 2017
UpdatedJan 20, 2024