BUG: Crash in FMetalRenderPipelineDesc::CreatePipelineStateForBoundShaderState

I created a Blueprint-only Vehicle template project in UE 4.17.0. When I open the project, the Editor loads most of the way, and then crashes before leaving the splash screen.

This may be related to this BUG report: BUG: Failed to generate render pipeline state object in MetalRHI - Programming & Scripting - Epic Developer Community Forums

Following is the output in the Crash Reporter:

LoginId:000b001100310007001f0050df9689fc
EpicAccountId:651e37db86154fd7938a35ead1cd9ab1

 SEGV_MAPERR at 0x3

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x105638c9b (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x10585025f (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x10593694d (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x10588981e (filename not found) [in UE4Editor-Core.dylib]
FMetalRenderPipelineDesc::CreatePipelineStateForBoundShaderState(FMetalBoundShaderState*, FMetalHashedVertexDescriptor const&) const Address = 0x13a32151a (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalBoundShaderState::PrepareToDraw(FMetalHashedVertexDescriptor const&, FMetalRenderPipelineDesc const&) Address = 0x13a2ecc92 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalContext::PrepareToDraw(unsigned int, EMetalIndexType) Address = 0x13a2e6a28 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalRHICommandContext::RHIEndDrawPrimitiveUP() Address = 0x13a2cc408 (filename not found) [in UE4Editor-MetalRHI.dylib]
DrawPrimitiveUP(FRHICommandList&, unsigned int, unsigned int, void const*, unsigned int) Address = 0x116becdb9 (filename not found) [in UE4Editor-Renderer.dylib]
FProjectedShadowInfo::RenderProjection(FRHICommandListImmediate&, int, FViewInfo const*, bool, bool) const Address = 0x117348ef7 (filename not found) [in UE4Editor-Renderer.dylib]
FSceneRenderer::RenderShadowProjections(FRHICommandListImmediate&, FLightSceneInfo const*, IPooledRenderTarget*, bool, bool) Address = 0x11734ccf4 (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::RenderShadowProjections(FRHICommandListImmediate&, FLightSceneInfo const*, IPooledRenderTarget*, bool&) Address = 0x11734d396 (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::RenderLights(FRHICommandListImmediate&) Address = 0x116d4b6c3 (filename not found) [in UE4Editor-Renderer.dylib]
FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&) Address = 0x116bf8a11 (filename not found) [in UE4Editor-Renderer.dylib]
FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) Address = 0x1172833d0 (filename not found) [in UE4Editor-Renderer.dylib]
TGraphTask<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::EURCMacro_FDrawSceneCommand>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) Address = 0x1172e7760 (filename not found) [in UE4Editor-Renderer.dylib]
FNamedTaskThread::ProcessTasksNamedThread(int, bool) Address = 0x10565c1cf (filename not found) [in UE4Editor-Core.dylib]
FNamedTaskThread::ProcessTasksUntilQuit(int) Address = 0x10565b1d8 (filename not found) [in UE4Editor-Core.dylib]
FTaskGraphImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) Address = 0x105656f61 (filename not found) [in UE4Editor-Core.dylib]
RenderingThreadMain(FEvent*) Address = 0x1079a2cb1 (filename not found) [in UE4Editor-RenderCore.dylib]
FRenderingThread::Run() Address = 0x1079b85d7 (filename not found) [in UE4Editor-RenderCore.dylib]
FRunnableThreadPThread::Run() Address = 0x1056dac90 (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0x10567cb80 (filename not found) [in UE4Editor-Core.dylib]
_pthread_body Address = 0x7fffad5cd93b (filename not found) [in libsystem_pthread.dylib]
_pthread_body Address = 0x7fffad5cd887 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fffad5cd08d (filename not found) [in libsystem_pthread.dylib]

Hi ,

This issue has been addressed in this post. Please see if the workaround mentioned there helps with the crash that you are seeing.

This issue is reported as fixed in the 4.17.1 Hotfix: 4.17.1 Hotfix Released - Announcements - Epic Developer Community Forums