[SOLVED] Fatal Error at project launching startup

Hello !

I’ve had all sort of problem trying to develop for the Oculus GO with unreal. I figured out it might be a version problem, and used github to download the last version recommended by oculus, the 4.22. I cloned the repository, opened the .sln in visual C++ 2017, I builded it, and then opened it with the debugger. Then I set the project settings following this tutoriel :

I can build the project, but as soon as I click on the launch buttons, unreal freezes and after a few second I get a message “fatal error” with no further explanation. And it crashes.

In the file MyProject/Saved/Logs, two things look like errors :

LogWindows: Failed to load ‘aqProf.dll’ (GetLastError=126)
LogWindows: File ‘aqProf.dll’ does not exist
LogWindows: Failed to load ‘VtuneApi.dll’ (GetLastError=126)
LogWindows: File ‘VtuneApi.dll’ does not exist
LogWindows: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)
LogWindows: File ‘VtuneApi32e.dll’ does not exist
LogConsoleResponse: Display: Failed to find resolution value strings in scalability ini. Falling back to default.

after some research it seems like this is actually not an error and is not the real problem. Here is what i think is the problem :

[2019.05.23-07.56.45:377][652]LogWindows: Error: === Critical error: ===
[2019.05.23-07.56.45:377][652]LogWindows: Error:
[2019.05.23-07.56.45:377][652]LogWindows: Error: Fatal error!
[2019.05.23-07.56.45:377][652]LogWindows: Error:
[2019.05.23-07.56.45:377][652]LogWindows: Error: Unhandled Exception: 0xc06d007e
[2019.05.23-07.56.45:377][652]LogWindows: Error:
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff8b9049129 KERNELBASE.dll!UnknownFunction ]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff847ef54e6 UE4Editor-OculusEditor.dll!__delayLoadHelper2() [d:\agent_work\1\s\src\vctools\delayimp\delayhlp.cpp:323]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff847ef1164 UE4Editor-OculusEditor.dll!_tailMerge_ovrplugin_dll() ]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff847ee17a8 UE4Editor-OculusEditor.dll!FOculusBuildAnalytics::OnLauncherWorkerStarted() [d:\github\unrealengine\engine\plugins\runtime\oculus\oculusvr\source\oculuseditor\private\oculusbuildanalytics.cpp:83]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff847ed8149 UE4Editor-OculusEditor.dll!TBaseRawMethodDelegateInstance<0,FOculusBuildAnalytics,void __cdecl(TSharedPtr<ILauncherWorker,0>,TSharedRef<ILauncherProfile,0>)>::ExecuteIfSafe() [d:\github\unrealengine\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:516]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff84986d03d UE4Editor-LauncherServices.dll!TBaseMulticastDelegate<void,TSharedPtr<ILauncherWorker,0>,TSharedRef<ILauncherProfile,0> >::Broadcast() [d:\github\unrealengine\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:977]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff84987b478 UE4Editor-LauncherServices.dll!FLauncher::Launch() [d:\github\unrealengine\engine\source\developer\launcherservices\private\launcher\launcher.cpp:29]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff85c80d9b7 UE4Editor-UnrealEd.dll!UEditorEngine::PlayUsingLauncher() [d:\github\unrealengine\engine\source\editor\unrealed\private\playlevel.cpp:2075]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff85c8229f6 UE4Editor-UnrealEd.dll!UEditorEngine::StartQueuedPlayMapRequest() [d:\github\unrealengine\engine\source\editor\unrealed\private\playlevel.cpp:1273]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff85c2ff8fa UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [d:\github\unrealengine\engine\source\editor\unrealed\private\editorengine.cpp:1532]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff85cb1c5e6 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [d:\github\unrealengine\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f7516bb1 UE4Editor.exe!FEngineLoop::Tick() [d:\github\unrealengine\engine\source\runtime\launch\private\launchengineloop.cpp:3967]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f752554c UE4Editor.exe!GuardedMain() [d:\github\unrealengine\engine\source\runtime\launch\private\launch.cpp:168]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f75255ca UE4Editor.exe!GuardedMainWrapper() [d:\github\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f753316c UE4Editor.exe!WinMain() [d:\github\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:275]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f7535b8e UE4Editor.exe!__scrt_common_main_seh() [d:\agent_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff8ba667974 KERNEL32.DLL!UnknownFunction ]
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff8bce5a271 ntdll.dll!UnknownFunction ]
[2019.05.23-07.56.45:377][652]LogWindows: Error:
[2019.05.23-07.56.45:386][652]LogExit: Executing StaticShutdownAfterError
[2019.05.23-07.56.45:389][652]LogWindows: FPlatformMisc::RequestExit(1)
[2019.05.23-07.56.45:405][652]Log file closed, 05/23/19 09:56:45

Do you know what this mean and how I may fix it ?
Thank you in advance :slight_smile:

EDIT : I just had’nt activated oculus avatar plugin… Works fine now