Description

OpenGL is supported but deprecated in 4.26
OpenGL4 is deprecated, you can comment this back in to add it to your targeted RHI list
If you comment this back out you can package for Linux without an issue.
If you add this RHI to windows and open QAGame the editor will crash with a shader callstack.

Steps to Reproduce
  1. Open the BaseEngine.ini from 4.26 Binary
  2. Enable +TargetedRHIs=GLSL_430 under [/Script/LinuxTargetPlatform.LinuxTargetSettings]
  3. Open the editor and create a blank project
  4. Package for Linux
    Result: failed to build with global shaders failing to compile based on what project you are using
    Expected: Able to package for Linux with OpenGL4
Callstack
[Callstack] 0x00007ffbdb073b29 KERNELBASE.dll!UnknownFunction []
[Callstack] 0x00007ffb8c15e9c6 UE4Editor-Core.dll!ReportAssert() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1632]
[Callstack] 0x00007ffb8c1620e8 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78]
[Callstack] 0x00007ffb8be734ad UE4Editor-Core.dll!FOutputDevice::LogfImpl() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
[Callstack] 0x00007ffb6306df16 UE4Editor-Engine.dll!ProcessCompiledGlobalShaders() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:5187]
[Callstack] 0x00007ffb6306fb97 UE4Editor-Engine.dll!FShaderCompilingManager::ProcessCompiledShaderMaps() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:2642]
[Callstack] 0x00007ffb6306d03f UE4Editor-Engine.dll!FShaderCompilingManager::ProcessAsyncResults() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:3178]
[Callstack] 0x00007ffb63075dbf UE4Editor-Engine.dll!RecompileShadersForRemote() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:5077]
[Callstack] 0x00007ffb8932bd0d UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveGlobalShaderMapFiles() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:5517]
[Callstack] 0x00007ffb89330004 UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::StartCookByTheBook() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:6895]
[Callstack] 0x00007ffb89171329 UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:922]
[Callstack] 0x00007ffb8919a6ba UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:624]
[Callstack] 0x00007ff7b44a7af9 UE4Editor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3369]
[Callstack] 0x00007ff7b449f14c UE4Editor-Cmd.exe!GuardedMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
[Callstack] 0x00007ff7b449f4ba UE4Editor-Cmd.exe!GuardedMainWrapper() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
[Callstack] 0x00007ff7b44b316d UE4Editor-Cmd.exe!WinMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
[Callstack] 0x00007ff7b44b5212 UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[Callstack] 0x00007ffbdb6f7bd4 KERNEL32.DLL!UnknownFunction []
[Callstack] 0x00007ffbdd5ece51 ntdll.dll!UnknownFunction []

 Failed to compile global shader FTonemapCS  .  Enable 'r.ShaderDevelopmentMode' in ConsoleVariables.ini for retries.
 [Callstack] 0x00007ff850a83b29 KERNELBASE.dll!UnknownFunction []
nux):   LogWindows: Error: [Callstack] 0x00007fffddd434ad UE4Editor-Core.dll!FOutputDevice::LogfImpl() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
 [Callstack] 0x00007fffde02e9c6 UE4Editor-Core.dll!ReportAssert() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1632]
 [Callstack] 0x00007fffde0320e8 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78]
 [Callstack] 0x00007fffddd434ad UE4Editor-Core.dll!FOutputDevice::LogfImpl() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
nux):   LogWindows: Error: [Callstack] 0x00007fffdb4bdf16 UE4Editor-Engine.dll!ProcessCompiledGlobalShaders() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:5187]
nux):   LogWindows: Error: [Callstack] 0x00007fffdb4bfb97 UE4Editor-Engine.dll!FShaderCompilingManager::ProcessCompiledShaderMaps() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:2642]
nux):   LogWindows: Error: [Callstack] 0x00007fffdb4bd03f UE4Editor-Engine.dll!FShaderCompilingManager::ProcessAsyncResults() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:3178]
nux):   LogWindows: Error: [Callstack] 0x00007fffdb4c5dbf UE4Editor-Engine.dll!RecompileShadersForRemote() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:5077]
nux):   LogWindows: Error: [Callstack] 0x00007fffd80fbd0d UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveGlobalShaderMapFiles() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:5517]
nux):   LogWindows: Error: [Callstack] 0x00007fffd8100004 UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::StartCookByTheBook() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:6895]
nux):   LogWindows: Error: [Callstack] 0x00007fffd7f41329 UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:922]
nux):   LogWindows: Error: [Callstack] 0x00007fffd7f6a6ba UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:624]
nux):   LogWindows: Error: [Callstack] 0x00007ff604d67af9 UE4Editor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3369]
nux):   LogWindows: Error: [Callstack] 0x00007ff604d5f14c UE4Editor-Cmd.exe!GuardedMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
nux):   LogWindows: Error: [Callstack] 0x00007ff604d5f4ba UE4Editor-Cmd.exe!GuardedMainWrapper() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
nux):   LogWindows: Error: [Callstack] 0x00007ff604d7316d UE4Editor-Cmd.exe!WinMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
nux):   LogWindows: Error: [Callstack] 0x00007ff604d75212 UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
nux):   LogWindows: Error: [Callstack] 0x00007ff851ca7bd4 KERNEL32.DLL!UnknownFunction []
nux):   LogWindows: Error: [Callstack] 0x00007ff85370ce51 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-101079 in the post.

0
Login to Vote

Fixed
ComponentUE - Rendering Architecture - RHI
Affects Versions4.26
Target Fix4.26
Fix Commit14531957
Release Commit14531957
CreatedOct 13, 2020
ResolvedOct 21, 2020
UpdatedApr 27, 2021
View Jira Issue