Developer Notes

This crash can be avoided by disabling the Magic Leap plugin in new projects.

Description

Editor crash when PIEing without ML SDK installed on machine.

This did not occur at the same CL on a P4 build.
This did not occur on a machine with the ML SDK installed.

Does not occur in //UE4/Release 4.21.2 @ CL 4812975 so I am marking this a regression.

Steps to Reproduce

Make sure you do not have the Magic Leap SDK installed on your machine

  1. Open the Editor
  2. Create a new project (First Person or Third Person BP is fine)
  3. Once the project opens, press PIE

Result: Editor crash
Expected Result: PIE session starts

Callstack

Callstack from log (with debugging symbols):

[2019.01.31-22.33.18:880][129]LogWindows: Error: === Critical error: ===
[2019.01.31-22.33.18:880][129]LogWindows: Error: 
[2019.01.31-22.33.18:880][129]LogWindows: Error: Fatal error!
[2019.01.31-22.33.18:880][129]LogWindows: Error: 
[2019.01.31-22.33.18:880][129]LogWindows: Error: Unhandled Exception: 0xc06d007e
[2019.01.31-22.33.18:880][129]LogWindows: Error: 
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffb27a6a388 KERNELBASE.dll!UnknownFunction []
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffab59f4c36 UE4Editor-MagicLeap.dll!__delayLoadHelper2() [d:\agent\_work\3\s\src\vctools\delayimp\delayhlp.cpp:323]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffab59efce4 UE4Editor-MagicLeap.dll!_tailMerge_ml_perception_client_dll() []
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffab59cf5f7 UE4Editor-MagicLeap.dll!FMagicLeapHMD::RefreshTrackingFrame() [d:\build\++ue4\sync\engine\plugins\lumin\magicleap\source\magicleap\private\magicleaphmd.cpp:643]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffab59cdb92 UE4Editor-MagicLeap.dll!FMagicLeapHMD::OnStartGameFrame() [d:\build\++ue4\sync\engine\plugins\lumin\magicleap\source\magicleap\private\magicleaphmd.cpp:376]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffabde2fc3e UE4Editor-Engine.dll!UWorld::Tick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\leveltick.cpp:1418]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffabae8e473 UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1618]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffabb6a6ac6 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ff7a2d66bb1 UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3954]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ff7a2d7554c UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:168]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ff7a2d755ca UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ff7a2d8314c UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:275]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ff7a2d85b6e UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffb28733034 KERNEL32.DLL!UnknownFunction []
[2019.01.31-22.33.18:881][129]LogWindows: Error: [Callstack] 0x00007ffb2abe3691 ntdll.dll!UnknownFunction []
[2019.01.31-22.33.18:881][129]LogWindows: Error: 

Callstack from CRC:

Unhandled exception

KERNELBASE
UE4Editor_MagicLeap!__delayLoadHelper2() [d:\agent\_work\3\s\src\vctools\delayimp\delayhlp.cpp:323]
UE4Editor_MagicLeap!_tailMerge_ml_perception_client_dll()
UE4Editor_MagicLeap!FMagicLeapHMD::RefreshTrackingFrame() [d:\build\++ue4\sync\engine\plugins\lumin\magicleap\source\magicleap\private\magicleaphmd.cpp:643]
UE4Editor_MagicLeap!FMagicLeapHMD::OnStartGameFrame() [d:\build\++ue4\sync\engine\plugins\lumin\magicleap\source\magicleap\private\magicleaphmd.cpp:376]
UE4Editor_Engine!UWorld::Tick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\leveltick.cpp:1418]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1618]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3954]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:168]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:275]
UE4Editor!__scrt_common_main_seh() [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
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-69422 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - XR
Affects Versions4.22
Target Fix4.22
Fix Commit5014941
Main Commit5014942
Release Commit5014941
CreatedJan 31, 2019
ResolvedFeb 16, 2019
UpdatedFeb 26, 2019
View Jira Issue