Description

Packaging for Android fails with the GPU Lightmass plugin enabled. A customer reported this and I was able to successfully repro it, however my callstack was different. I'm attaching my logs and callstack as well as the customers callstack.

Steps to Reproduce
  1. Create and open a BP FPS project with Ray Tracing enabled
  2. Enable the GPU Lightmass Plugin and restart
  3. Build GPU Lightmass lighting
  4. Package for Android (ASTC)

Result: Package Fails

Expected: Package completes successfully

Callstack
UATHelper: Packaging (Android (ASTC)):   LogShaderCompilers: Error: SCW 1 Queued Jobs, Finished 0 single jobs
UATHelper: Packaging (Android (ASTC)):   LogShaderCompilers: Error: Job 0 [Single] Global/FDownsampleVolumeCS/0:/Plugin/GPULightmass/Private/BrickAllocationManagement.usf Type 'FDownsampleVolumeCS' '/Plugin/GPULightmass/Private/BrickAllocationManagement.usf' Entry 'DownsampleVolumeCS' Permutation 0
PackagingResults: Error: SCW 1 Queued Jobs, Finished 0 single jobs
PackagingResults: Error: Job 0 [Single] Global/FDownsampleVolumeCS/0:/Plugin/GPULightmass/Private/BrickAllocationManagement.usf Type 'FDownsampleVolumeCS' '/Plugin/GPULightmass/Private/BrickAllocationManagement.usf' Entry 'DownsampleVolumeCS' Permutation 0
UATHelper: Packaging (Android (ASTC)):   LogOutputDevice: Warning:
UATHelper: Packaging (Android (ASTC)):   
UATHelper: Packaging (Android (ASTC)):   Script Stack (0 frames):
UATHelper: Packaging (Android (ASTC)):   
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 1236]
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: Shader Compiling thread exception:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 358]
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: ShaderCompileWorker crashed!
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:    Assertion failed: CheckVirtualShaderFilePath(OutputFilename) [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/RenderCore/Private/ShaderCore.cpp] [Line: 710]
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc8403d297 ShaderCompileWorker-Core.dll!FDebug::CheckVerifyFailedImpl() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc88c70efc ShaderCompileWorker-RenderCore.dll!ParseVirtualShaderFilename() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc8923be94 ShaderCompileWorker-ShaderCompilerCommon.dll!CrossCompiler::ParseHlslccError() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc8719e0b9 ShaderCompileWorker-ShaderFormatOpenGL.dll!FOpenGLFrontend::CompileShader() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc8719e347 ShaderCompileWorker-ShaderFormatOpenGL.dll!FShaderFormatGLSL::CompileShader() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ff7908d87fa ShaderCompileWorker.exe!ProcessCompilationJob() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ff7908d9b7a ShaderCompileWorker.exe!FWorkLoop::ProcessInputFromArchive() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ff7908d51e7 ShaderCompileWorker.exe!FWorkLoop::Loop() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ff7908d2d15 ShaderCompileWorker.exe!GuardedMain() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ff7908d2f5f ShaderCompileWorker.exe!GuardedMainWrapper() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ff7908e1098 ShaderCompileWorker.exe!wmain() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ff7908e2348 ShaderCompileWorker.exe!__scrt_common_main_seh() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffd09476fd4 KERNEL32.DLL!UnknownFunction []
PackagingResults: Error: begin: stack for UAT
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffd0b41cec1 ntdll.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffd090d3e49 KERNELBASE.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9e0bb646 UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: === Critical error: ===
PackagingResults: Error: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 1236]
PackagingResults: Error: Shader Compiling thread exception:
PackagingResults: Error: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 358]
PackagingResults: Error: ShaderCompileWorker crashed!
PackagingResults: Error:     Assertion failed: CheckVirtualShaderFilePath(OutputFilename) [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/RenderCore/Private/ShaderCore.cpp] [Line: 710]
PackagingResults: Error: [Callstack] 0x00007ffc8403d297 ShaderCompileWorker-Core.dll!FDebug::CheckVerifyFailedImpl() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9e0beda8 UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc88c70efc ShaderCompileWorker-RenderCore.dll!ParseVirtualShaderFilename() []
PackagingResults: Error: [Callstack] 0x00007ffc8923be94 ShaderCompileWorker-ShaderCompilerCommon.dll!CrossCompiler::ParseHlslccError() []
PackagingResults: Error: [Callstack] 0x00007ffc8719e0b9 ShaderCompileWorker-ShaderFormatOpenGL.dll!FOpenGLFrontend::CompileShader() []
PackagingResults: Error: [Callstack] 0x00007ffc8719e347 ShaderCompileWorker-ShaderFormatOpenGL.dll!FShaderFormatGLSL::CompileShader() []
PackagingResults: Error: [Callstack] 0x00007ff7908d87fa ShaderCompileWorker.exe!ProcessCompilationJob() []
PackagingResults: Error: [Callstack] 0x00007ff7908d9b7a ShaderCompileWorker.exe!FWorkLoop::ProcessInputFromArchive() []
PackagingResults: Error: [Callstack] 0x00007ff7908d51e7 ShaderCompileWorker.exe!FWorkLoop::Loop() []
PackagingResults: Error: [Callstack] 0x00007ff7908d2d15 ShaderCompileWorker.exe!GuardedMain() []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9ddccfed UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff7908d2f5f ShaderCompileWorker.exe!GuardedMainWrapper() []
PackagingResults: Error: [Callstack] 0x00007ff7908e1098 ShaderCompileWorker.exe!wmain() []
PackagingResults: Error: [Callstack] 0x00007ff7908e2348 ShaderCompileWorker.exe!__scrt_common_main_seh() []
PackagingResults: Error: [Callstack] 0x00007ffd09476fd4 KERNEL32.DLL!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffd0b41cec1 ntdll.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffd090d3e49 KERNELBASE.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9a3a7036 UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc9e0bb646 UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc9e0beda8 UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc9ddccfed UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc9a3a7036 UE4Editor-Engine.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9a38efa3 UE4Editor-Engine.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9a3bb588 UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc9a38efa3 UE4Editor-Engine.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9a38883c UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc9a3bb588 UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc9a38883c UE4Editor-Engine.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9a3c62e7 UE4Editor-Engine.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9e0d6f9b UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffc9e0cfc30 UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffd09476fd4 KERNEL32.DLL!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: [Callstack] 0x00007ffd0b41cec1 ntdll.dll!UnknownFunction []
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error:
UATHelper: Packaging (Android (ASTC)):   LogWindows: Error: end: stack for UAT
PackagingResults: Error: [Callstack] 0x00007ffc9a3c62e7 UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc9e0d6f9b UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffc9e0cfc30 UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffd09476fd4 KERNEL32.DLL!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffd0b41cec1 ntdll.dll!UnknownFunction []
PackagingResults: Error: end: stack for UAT
UATHelper: Packaging (Android (ASTC)): Took 12.4094592s to run UE4Editor-Cmd.exe, ExitCode=3
UATHelper: Packaging (Android (ASTC)): ERROR: Cook failed. 

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.26
Target Fix4.26
Fix Commit14688665
Release Commit14688665
CreatedNov 5, 2020
ResolvedNov 9, 2020
UpdatedApr 27, 2021
View Jira Issue