Description

This is a common Mac crash in 4.16. Users have not provided descriptions, so additional information is not currently available.

Callstack from Log

LogMetal:Display: No .metalmap file found for SF_METAL_SM5!
LogMac:Error: appError called: Assertion failed: Assertion failed:  [File:/Users/***/UnrealEngine/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalShaders.cpp] [Line: 342] 
Failed to create compute kernel: Error Domain=CompilerError Code=1 "Compiler encountered an internal error" UserInfo={NSLocalizedDescription=Compiler encountered an internal error}

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

LogMac: FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x796aa4b  (filename not found) [in ARSample]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x7b12984  (filename not found) [in ARSample]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x7bb2ffd  (filename not found) [in ARSample]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x7b4ba1e  (filename not found) [in ARSample]
FMetalComputeShader::FMetalComputeShader(TArray<unsigned char, FDefaultAllocator> const&) Address = 0x78bd37c  (filename not found) [in ARSample]
FMetalDynamicRHI::RHICreateComputeShader(TArray<unsigned char, FDefaultAllocator> const&) Address = 0x78cd463  (filename not found) [in ARSample]
FDynamicRHI::CreateComputeShader_RenderThread(FRHICommandListImmediate&, TArray<unsigned char, FDefaultAllocator> const&) Address = 0x8af7da2  (filename not found) [in ARSample]
FShaderCodeLibrary::CreateComputeShader(EShaderPlatform, FSHAHash, TArray<unsigned char, FDefaultAllocator> const&) Address = 0x8b77918  (filename not found) [in ARSample]
FShaderCache::InternalSubmitShader(FShaderCacheKey const&, TArray<unsigned char, FDefaultAllocator> const&, FRHIShaderLibrary*, FShaderCacheState*) Address = 0x8b6c177  (filename not found) [in ARSample]
FShaderCache::InternalLogShader(EShaderPlatform, EShaderFrequency, FSHAHash, unsigned int, TArray<unsigned char, FDefaultAllocator> const&, FShaderCacheState*)::EURCMacro_LogShader::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) Address = 0x8b78eb0  (filename not found) [in ARSample]
FShaderCache::InternalLogShader(EShaderPlatform, EShaderFrequency, FSHAHash, unsigned int, TArray<unsigned char, FDefaultAllocator> const&, FShaderCacheState*) Address = 0x8b78754  (filename not found) [in ARSample]
FShaderResource::Serialize(FArchive&) Address = 0x8b4d633  (filename not found) [in ARSample]
FShader::SerializeBase(FArchive&, bool) Address = 0x8b4a586  (filename not found) [in ARSample]
TShaderMap<FGlobalShaderType>::SerializeShaderForLoad(FShaderType*, FArchive&, bool, bool) Address = 0x8bacc42  (filename not found) [in ARSample]
TShaderMap<FGlobalShaderType>::SerializeInline(FArchive&, bool, bool) Address = 0x8b475b9  (filename not found) [in ARSample]
SerializeGlobalShaders(FArchive&, TShaderMap<FGlobalShaderType>*) Address = 0xafa24a2  (filename not found) [in ARSample]
CompileGlobalShaderMap(EShaderPlatform, bool) Address = 0xafa350a  (filename not found) [in ARSample]
FEngineLoop::PreInit(wchar_t const*) Address = 0x781cee2  (filename not found) [in ARSample]
GuardedMain(wchar_t const*) Address = 0x782e3cf  (filename not found) [in ARSample]
-[UE4AppDelegate runGameThread:] Address = 0x78391ca  (filename not found) [in ARSample]
-[FCocoaGameThread main] Address = 0x7ad2ea6  (filename not found) [in ARSample]
__NSThread__start__() Address = 0x94f09b3d (filename not found) [in Foundation]
_pthread_body() Address = 0xa8ea793b (filename not found) [in libsystem_pthread.dylib]
_pthread_body() Address = 0xa8ea7887 (filename not found) [in libsystem_pthread.dylib]
thread_start() Address = 0xa8ea708d (filename not found) [in libsystem_pthread.dylib]
Steps to Reproduce

repro steps currently unknown

Callstack
UE4Game!FMetalComputeShader::FMetalComputeShader()
UE4Game!FMetalDynamicRHI::RHICreateComputeShader()
UE4Game!FDynamicRHI::CreateComputeShader_RenderThread()
UE4Game!FShaderCodeLibrary::CreateComputeShader()
UE4Game!FShaderCache::InternalSubmitShader()
UE4Game!FShaderCache::InternalLogShader(EShaderPlatform, EShaderFrequency, FSHAHash, unsigned int, TArray<unsigned char, FDefaultAllocator> const&, FShaderCacheState*)::EURCMacro_LogShader::DoTask()
UE4Game!FShaderCache::InternalLogShader()
UE4Game!FShaderResource::Serialize()
UE4Game!FShader::SerializeBase()
UE4Game!TShaderMap<FGlobalShaderType>::SerializeShaderForLoad()
UE4Game!TShaderMap<FGlobalShaderType>::SerializeInline()
UE4Game!SerializeGlobalShaders()
UE4Game!CompileGlobalShaderMap()
UE4Game!FEngineLoop::PreInit()
UE4Game!GuardedMain()
UE4Game!<Unknown>
UE4Game!<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 to Questions & Answers just mention UE-46679 in the post.

2
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.164.17
Target Fix4.18
Release Commit3529912
CreatedJun 29, 2017
ResolvedSep 12, 2017
UpdatedOct 31, 2017
View Jira Issue