Game runs fine in Editor but "Fatal Error" when starting packaged exe

I’ve narrowed it down to the plugin which is used for Spout. But even with a blank example, no actor or anything used from the plugin, only the plugin enabled, it will crash on startup.

But the standalone “run” in the editor works fine…

It is something about:
FCurlHttpManager::InitCurl()

Here is the end of the Log:

LogPackageName: Display: FPackageName: Mount point added: '../../../Engine/Plugins/Runtime/WaveTable/Content/' mounted to '/WaveTable/'
LogPackageName: Display: FPackageName: Mount point added: '../../../Engine/Plugins/TraceUtilities/Content/' mounted to '/TraceUtilities/'
LogPackageName: Display: FPackageName: Mount point added: '../../../Engine/Plugins/VirtualProduction/CameraCalibrationCore/Content/' mounted to '/CameraCalibrationCore/'
LogPackageName: Display: FPackageName: Mount point added: '../../../Engine/Plugins/VirtualProduction/Takes/Content/' mounted to '/Takes/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/OWLLivestreamingToolkit/Content/' mounted to '/OWLLivestreamingToolkit/'
LogWindows: Failed to load 'WinPixGpuCapturer.dll' (GetLastError=126)
LogWindows: File 'WinPixGpuCapturer.dll' does not exist
PixWinPlugin: PIX capture plugin failed to initialize! Check that the process is launched from PIX.
LogConfig: Applying CVar settings from Section [/Script/RenderDocPlugin.RenderDocPluginSettings] File [Engine]
RenderDocPlugin: Display: RenderDoc plugin will not be loaded. Use '-AttachRenderDoc' on the cmd line or enable 'renderdoc.AutoAttach' in the plugin settings.
LogWindows: Could not start crash report client using ../../../Engine/Binaries/Win64/CrashReportClient-Win64-Debug.exe
LogMemory: Platform Memory Stats for Windows
LogMemory: Process Physical Memory: 131.55 MB used, 131.86 MB peak
LogMemory: Process Virtual Memory: 74.65 MB used, 75.26 MB peak
LogMemory: Physical Memory: 9266.94 MB used,  23420.36 MB free, 32687.30 MB total
LogMemory: Virtual Memory: 16138.82 MB used,  18852.48 MB free, 34991.30 MB total
Message dialog closed, result: Ok, title: The UE-OffWorldBlankTest Game has crashed and will close, text: Fatal error!


LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Fatal error!
LogWindows: Error: 
LogWindows: Error: Unhandled Exception: 0xc06d007e
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x00007ff8187f531c KERNELBASE.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6917d0734 OffWorldBlankTest.exe!__delayLoadHelper2() [D:\a\_work\1\s\src\vctools\delayimp\delayhlp.cpp:312]
LogWindows: Error: [Callstack] 0x00007ff691697db8 OffWorldBlankTest.exe!_tailMerge_libcrypto_3_x64_dll() []
LogWindows: Error: [Callstack] 0x00007ff69161594c OffWorldBlankTest.exe!Curl_thread_join() []
LogWindows: Error: [Callstack] 0x00007ff6915e3b2a OffWorldBlankTest.exe!curl_version_info() []
LogWindows: Error: [Callstack] 0x00007ff6880f622c OffWorldBlankTest.exe!FCurlHttpManager::InitCurl() []
LogWindows: Error: [Callstack] 0x00007ff6880d21c4 OffWorldBlankTest.exe!FHttpModule::StartupModule() []
LogWindows: Error: [Callstack] 0x00007ff6869c2f5e OffWorldBlankTest.exe!FModuleManager::LoadModuleWithFailureReason() []
LogWindows: Error: [Callstack] 0x00007ff6869c1f22 OffWorldBlankTest.exe!FModuleManager::LoadModule() []
LogWindows: Error: [Callstack] 0x00007ff68fe9423b OffWorldBlankTest.exe!FOnlineSubsystemModule::StartupModule() []
LogWindows: Error: [Callstack] 0x00007ff6869c2f5e OffWorldBlankTest.exe!FModuleManager::LoadModuleWithFailureReason() []
LogWindows: Error: [Callstack] 0x00007ff686de7e9d OffWorldBlankTest.exe!FModuleDescriptor::LoadModulesForPhase() []
LogWindows: Error: [Callstack] 0x00007ff686dfc9de OffWorldBlankTest.exe!FPluginManager::TryLoadModulesForPlugin() []
LogWindows: Error: [Callstack] 0x00007ff686de7723 OffWorldBlankTest.exe!FPluginManager::LoadModulesForEnabledPlugins() []
LogWindows: Error: [Callstack] 0x00007ff68da01513 OffWorldBlankTest.exe!FEngineLoop::AppInit() []
LogWindows: Error: [Callstack] 0x00007ff68da18311 OffWorldBlankTest.exe!FEngineLoop::PreInitPreStartupScreen() []
LogWindows: Error: [Callstack] 0x00007ff68da0cba2 OffWorldBlankTest.exe!GuardedMain() []
LogWindows: Error: [Callstack] 0x00007ff68da0cf1a OffWorldBlankTest.exe!GuardedMainWrapper() []
LogWindows: Error: [Callstack] 0x00007ff68da0fdc6 OffWorldBlankTest.exe!LaunchWindowsStartup() []
LogWindows: Error: [Callstack] 0x00007ff68da1f9b4 OffWorldBlankTest.exe!WinMain() []
LogWindows: Error: [Callstack] 0x00007ff6917d468a OffWorldBlankTest.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogWindows: Error: [Callstack] 0x00007ff818fd257d KERNEL32.DLL!UnknownFunction []
LogWindows: Error: 
LogWindows: FPlatformMisc::RequestExit(1, LaunchWindowsStartup.ExceptionHandler)
LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, LaunchWindowsStartup.ExceptionHandler)
LogCore: Engine exit requested (reason: Win RequestExit)

Anyone got any idea?

GitHub - leadedge/Spout2: A video frame sharing system for Microsoft Windows
the code and plugin needing to be built and binaries need to be copied into the plugin directory . the log above show fails to load in package games

Hello, thanks for the answer. But the plugin comes as a .zip with pre-built binaries. The binaries are also copied to the package output.

I’ve contacted the developer of the plugin and he could reproduce the error. They are working on a fix and will hopefully release a new version of the Off World Livestreaming Toolkit in the next few days.

Thanks for your help!