Description

Crash occurs when enabling Forward Shading and restarting the editor when prompted. The editor continues to crash with every attempt to open after this point as well. 

Steps to Reproduce
  1. Open QAGame
  2. Navigate to Edit > Project Settings > Forward Renderer
  3. Enable Forward Shading
  4. Restart the editor when prompted

Results: Editor crashes on startup

Callstack
[2019.09.04-18.43.01:225][ 0]LogMac: === Critical error: ===
SIGABRT: abort() called

[2019.09.04-18.43.01:225][ 0]LogMac: 0x64bd044e libsystem_kernel.dylib!__pthread_kill() [UnknownFile])
0x64b58a38 libsystem_c.dylib!abort() [UnknownFile])
0x64b57cf2 libsystem_c.dylib!err() [UnknownFile])
0x2e4b42b4 UE4Editor-MetalRHI.dylib!mtlpp::Texture::GetPixelFormat() const [UnknownFile])
0x2e59c7cd UE4Editor-MetalRHI.dylib!FMetalStateCache::SetRenderPipelineState(FMetalCommandEncoder&, FMetalCommandEncoder*) [UnknownFile])
0x2e5875b3 UE4Editor-MetalRHI.dylib!FMetalRenderPass::PrepareToRender(unsigned int) [UnknownFile])
0x2e58d416 UE4Editor-MetalRHI.dylib!FMetalRenderPass::DrawIndexedPrimitive(FMetalBuffer const&, unsigned int, unsigned int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) [UnknownFile])
0x2e50f378 UE4Editor-MetalRHI.dylib!FMetalRHICommandContext::RHIDrawIndexedPrimitive(FRHIIndexBuffer*, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) [UnknownFile])
0x14ae582c UE4Editor-Renderer.dylib!FMeshDrawCommand::SubmitDraw(FMeshDrawCommand const&, TSet<FGraphicsMinimalPipelineStateInitializer, DefaultKeyFuncs<FGraphicsMinimalPipelineStateInitializer, false>, FDefaultSetAllocator> const&, FRHIVertexBuffer*, int, unsigned int, FRHICommandList&, FMeshDrawCommandStateCache&) [UnknownFile])
0x14ae64fc UE4Editor-Renderer.dylib!SubmitMeshDrawCommandsRange(TArray<FVisibleMeshDrawCommand, TMemStackAllocator<0u> > const&, TSet<FGraphicsMinimalPipelineStateInitializer, DefaultKeyFuncs<FGraphicsMinimalPipelineStateInitializer, false>, FDefaultSetAllocator> const&, FRHIVertexBuffer*, int, bool, int, int, unsigned int, FRHICommandList&) [UnknownFile])
0x14a8100d UE4Editor-Renderer.dylib!FParallelMeshDrawCommandPass::DispatchDraw(FParallelCommandListSet*, FRHICommandList&) const [UnknownFile])
0x1490e866 UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::RenderBasePassView(FRHICommandListImmediate&, FViewInfo&, FExclusiveDepthStencil::Type, FMeshPassProcessorRenderState const&) [UnknownFile])
0x1490d8e9 UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::RenderBasePass(FRHICommandListImmediate&, FExclusiveDepthStencil::Type, IPooledRenderTarget*, bool, bool) [UnknownFile])
0x149b1f49 UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&) [UnknownFile])
0x14decfc9 UE4Editor-Renderer.dylib!RenderViewFamily_RenderThread(FRHICommandListImmediate&, FSceneRenderer*) [UnknownFile])
0x14def088 UE4Editor-Renderer.dylib!TGraphTask<TEnqueueUniqueRenderCommandType<FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::FDrawSceneCommandName, FRendererModule::BeginRenderingViewFamily(FCanvas*, FSceneViewFamily*)::$_95> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) [UnknownFile])
0x02761c3c UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [UnknownFile])
0x02760a53 UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksUntilQuit(int) [UnknownFile])
0x09a79373 UE4Editor-RenderCore.dylib!RenderingThreadMain(FEvent*) [UnknownFile])
0x09ae0387 UE4Editor-RenderCore.dylib!FRenderingThread::Run() [UnknownFile])
0x02816628 UE4Editor-Core.dylib!FRunnableThreadPThread::Run() [UnknownFile])
0x027db1c1 UE4Editor-Core.dylib!FRunnableThreadPThread::_ThreadProc(void*) [UnknownFile])
0x64c8dd76 libsystem_pthread.dylib!_pthread_start() [UnknownFile])
0x64c8a5e3 libsystem_pthread.dylib!thread_start() [UnknownFile])

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Rendering Architecture - RHI
Affects Versions4.234.24
Target Fix4.24
Fix Commit8745875
Main Commit11123615
Release Commit9552237
CreatedSep 4, 2019
ResolvedSep 17, 2019
UpdatedJan 28, 2020
View Jira Issue