cancel
Showing results for 
Search instead for 
Did you mean: 

Unreal Engine 4.22 fatal error at launching startup

LIVEv1
Explorer
Hello !

I've had all sort of problem trying to develop for the Oculus GO with unreal engine. After a while, I figured out it might be an Unreal version problem, and used github to download the last version recommended by oculus, the 4.22.0 I cloned the repository, opened the .sln in visual C++ 2017, I builded it, and then opened it with the debugger. I used to have the 4.22.1 version downloaded and when unreal engine starts it says 4.22.1 even though i'm supposed to be launching 4.22.0... I don't know if this is normal. 

Anyway, I created a project and set the project settings following this tutoriel :

https://developer.oculus.com/documen...tart-guide-go/

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, I think that this may be 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()
[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()
[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()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff84986d03d UE4Editor-LauncherServices.dll!TBaseMulticastDelegate<void,TSharedPtr<ILauncherWorker,0>,TSharedRef<ILauncherProfile,0> >::Broadcast()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff84987b478 UE4Editor-LauncherServices.dll!FLauncher::Launch()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff85c80d9b7 UE4Editor-UnrealEd.dll!UEditorEngine::PlayUsingLauncher()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff85c8229f6 UE4Editor-UnrealEd.dll!UEditorEngine::StartQueuedPlayMapRequest()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff85c2ff8fa UE4Editor-UnrealEd.dll!UEditorEngine::Tick()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff85cb1c5e6 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f7516bb1 UE4Editor.exe!FEngineLoop::Tick()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f752554c UE4Editor.exe!GuardedMain()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f75255ca UE4Editor.exe!GuardedMainWrapper()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f753316c UE4Editor.exe!WinMain()
[2019.05.23-07.56.45:377][652]LogWindows: Error: [Callstack] 0x00007ff6f7535b8e UE4Editor.exe!__scrt_common_main_seh()
[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 
3 REPLIES 3

LIVEv1
Explorer
I solved It ! I just had'nt activated Oculus avatar plugin in addition with Oculus VR plugin

Gnometech
Protege
Thanks so much for coming back and posting your solution.  I hit this exact same issue while deploying to the Quest, and this solved it.

- Dave
David Wyand www.gnometech.com @Gnometech Game in progress: The Field -- Multiplayer, battlefield-style VR FPS GearVR Store: Circumpaint -- Paint and animate on a dome around you

Thanks, @LIVEv1 . I had been searching all over for someone else with this exact scenario. Finally, was able to get to this "<app_name> has crashed and will close now. Fatal Error!" forum post by doing a search for the error code, pasted automatically from the clipboard, of the pop-up crash prompt. My fix is different, as I already had both of those plugins you've mentioned enabled in the Unreal Project.

*My temp fix: During the submission process using the oculus platform utility (UploadBuild.bat), many files are not allowed and prompted for removal. The openvr_api.dll file was one of them. This file needs to be added back, in order for the game to run: Open Unreal FrontEnd, create a new packaged shipping build in a different folder (I.e. "_test") from the final build>copy the Open VR folder & contents to the app's installed location (ex: X:\GamesX\Oculus\Software\modogma-mod-haus\MOD_Haus\WindowsNoEditor\Engine\Binaries\ThirdParty\OpenVR)>re-run the app from the Oculus app

OpenVR is related to Steam, which is weird because the actual steamworks folder (with steam_api64.dll) are not required, but OpenVR is.