Description

This is a common commandlet crash for Mac users in 4.16. In all cases, the command line is like:

"(path/project).uproject" -run=Cook -NoLogTimes -TargetPlatform=IOS -fileopenlog -unversioned -skipeditorcontent -abslog="/Users/Shared/Epic Games/UE_4.16/Engine/Programs/AutomationTool/Saved/Cook-2017.07.19-02.23.31.txt" -stdout -CrashForUAT -unattended -UTF8Output

From Example Log

LogMac:Error: appError called: Assertion failed: Assertion failed:  [File:/Users/build/Build/++UE4+Release-4.16+Compile/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 4505] 
Failed to compile global shader FSimpleLightTranslucentLightingInjectPS  .  Enable 'r.ShaderDevelopmentMode' in ConsoleVariables.ini for retries.

LogMac: === Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x3

LogMac: FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x3b3400b  (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x3d2fa2f  (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x3e106cd  (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x3d7693e  (filename not found) [in UE4Editor-Core.dylib]
ProcessCompiledJob(FShaderCompileJob*, FShaderPipelineType const*, TArray<EShaderPlatform, FDefaultAllocator>&, TArray<FShaderPipelineType const*, FDefaultAllocator>&) Address = 0x820c3dc  (filename not found) [in UE4Editor-Engine.dylib]
ProcessCompiledGlobalShaders(TArray<FShaderCommonCompileJob*, FDefaultAllocator> const&) Address = 0x81eb660  (filename not found) [in UE4Editor-Engine.dylib]
FShaderCompilingManager::ProcessCompiledShaderMaps(TMap<int, FShaderMapFinalizeResults, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, FShaderMapFinalizeResults, false> >&, float) Address = 0x81e94fa  (filename not found) [in UE4Editor-Engine.dylib]
Steps to Reproduce

repro steps currently unknown

Callstack
UE4Editor-Engine.dylib!ProcessCompiledJob()
UE4Editor-Engine.dylib!ProcessCompiledGlobalShaders()
UE4Editor-Engine.dylib!FShaderCompilingManager::ProcessCompiledShaderMaps()
UE4Editor-Engine.dylib!FShaderCompilingManager::FinishCompilation()
UE4Editor-Engine.dylib!VerifyGlobalShaders()
UE4Editor-Engine.dylib!CompileGlobalShaderMap()
UE4Editor-Engine.dylib!BeginRecompileGlobalShaders()
UE4Editor-Engine.dylib!RecompileShadersForRemote()
UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::SaveGlobalShaderMapFiles()
UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::StartCookByTheBook()
UE4Editor-UnrealEd.dylib!UCookCommandlet::CookByTheBook()
UE4Editor-UnrealEd.dylib!UCookCommandlet::Main()
UE4Editor!FEngineLoop::PreInit()
UE4Editor!GuardedMain()
UE4Editor!<Unknown>
UE4Editor-Core.dylib!<Unknown>
Foundation!Unknown()
libsystem_pthread.dylib!<Unknown>
libsystem_pthread.dylib!<Unknown>
libsystem_pthread.dylib!<Unknown>

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-47554 in the post.

13
Login to Vote

Unresolved
ComponentRendering
Affects Versions4.164.174.184.194.204.214.22
Target Fix4.24
CreatedJul 20, 2017
UpdatedOct 3, 2019