Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Unreal Engine 4.22 fatal error at launching startup

LIVEv1LIVEv1 Posts: 3
NerveGear
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() [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 

Comments

  • LIVEv1LIVEv1 Posts: 3
    NerveGear
    I solved It ! I just had'nt activated Oculus avatar plugin in addition with Oculus VR plugin
  • GnometechGnometech Posts: 82 Oculus Start Member
    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
  • successboy1successboy1 Posts: 10
    NerveGear
    edited November 10
    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.
Sign In or Register to comment.