[MagicLeap] RESOLVED - Crash using the MagicLeap Remote Simulator - Unreal MagicLeap

Hi everyone, I post a question here because I don’t find any solution to my problem yet.

I follow basic tutorial on MagicLeap and UnrealEngine website to create a simple app and launch it into the magicleap simulator. But each time I want to launch it in Unreal, the editor crash and return me this error :

Access violation - code c0000005 (first/second chance not available)
UE4Editor_MagicLeap!::operator()() [d:\build++ue4\sync\engine\plugins\lumin\magicleap\source\magicleap\private\magicleaphmd.cpp:1284]
UE4Editor_HeadMountedDisplay!ExecuteOnRHIThread_DoNotWait() [d:\build++ue4\sync\engine\source\runtime\headmounteddisplay\private\xrthreadutils.cpp:112]
UE4Editor_MagicLeap!FMagicLeapHMD::InitDevice_RenderThread() [d:\build++ue4\sync\engine\plugins\lumin\magicleap\source\magicleap\private\magicleaphmd.cpp:1271]
UE4Editor_MagicLeap!TGraphTask::ExecuteTask() [d:\build++ue4\sync\engine\source\runtime\core\public\async askgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build++ue4\sync\engine\source\runtime\core\private\async askgraph.cpp:665]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build++ue4\sync\engine\source\runtime\core\private\async askgraph.cpp:574]
UE4Editor_RenderCore!RenderingThreadMain() [d:\build++ue4\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:333]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\build++ue4\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:467]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]

I don’t get a crash when I don’t launch the simulator or when I disable the graphics component from the simulator, but doing this block me the simulation.

Version used :
Unreal Engine v0.16 (MagicLeap edition)
Lumin SDK 0.19
Windows 10
Nvidia GTX 970 and 1060
(tested with two computer)

Has anyone have an idea to fix it ?



I built Magic Leap’s fork of UE from source. That’s the best I can come up with.

I didn’t see that this version of UE was expired, another documentation of unreal mention to not use it anymore, but I’ll try with the last actual version ( 4.21.2) and the error still be the same.

Salm I’ll just try from the UE from source (adapted to SDK 0.19) and it’s not working.

I finally found the source of the problem , the parameter “Use Vulkan with zero iteration” was check by default and we have to uncheck it to fix it.

I take the Unreal Engine from github magicleap source , configure path environnement, build UE from source and configure the mlsdk path , check “Enable Zero Iteration” and unchecked “Use Vulkan with Zero Iteration” from project parameters.

Hope that can help somebody else.


badass Nyderas ! thx man