If you experience this crash, please log a bug report on the UE4 Answerhub and reference this ticket number so we can discuss this issue with you.
This is a common crash on Mac in the 4.16 release.
The callstack is fairly generic , so it shares similarities with other Jiras such as [Link Removed] and [Link Removed], but this issue is different.
With Xcode 7.3.1 ([Link Removed]) installed to /Applications/Xcode.app, download attached 8650_51197943.metal shader to Desktop, then execute following commands from the terminal:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin/metal -ffast-math -Wno-null-character -std=osx-metal1.1 ~/Desktop/8650_51197943.metal -o /tmp/ShaderIn6030DA82FF4D1DF0CE2788BB36EED60F.o /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin/metallib -o /tmp/ShaderIn6030DA82FF4D1DF0CE2788BB36EED60F.lib /tmp/ShaderIn6030DA82FF4D1DF0CE2788BB36EED60F.o
First command will succeed, but the second one will fail with the metallib: Unexpected token !r error.
SEGV_MAPERR at 0x3 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!FEngineLoop::PreInit() UE4Editor!GuardedMain() UE4Editor!<Unknown> UE4Editor-Core.dylib!<Unknown> Foundation!Unknown() libsystem_pthread.dylib!<Unknown> libsystem_pthread.dylib!<Unknown> libsystem_pthread.dylib!<Unknown>
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-45463 in the post.
1 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.16 |
Target Fix | 4.16.1 |
Created | May 26, 2017 |
---|---|
Resolved | May 30, 2017 |
Updated | Apr 27, 2018 |