Description

Crash occurs when building the lighting with any Basic shape in the level. This crash occurs with Niagara plugin both enabled and disabled.

This issue does not occur in 4.23

Issue only occurs on Mac.

Steps to Reproduce
  1. Open Any project
  2. Drag a Basic shape into the level
  3. Click the dropdown beside Build
  4. Select Build Lighting Only

Results: The editor hangs with two handled ensures

Callstack
Primitives with unbuilt interactions: 0
LogStats: [Callstack] 0x04867a60 UE4Editor-Core.dylib!FNa
LogOutputDevice: Error: edTaskThread::ProcessTasksNamedThread(int, bool)   [UnknownFile]) 
LogOutputDevice: Error: ksNamedThread(int, bool)   [UnknownFile]) 
LogOutputDevice: Error: sNamedThread(int, bool)   [UnknownFile]) 
LogOutputDevice: Error:  0x064a21c3 UE4Editor-RenderCore.dylib!RenderingThreadMain(FEvent*)   [UnknownFile]) 
LogOutputDevice: Error: 0x064a21c3 UE4Editor-RenderCore.dylib!RenderingThreadMain(FEvent*)   [UnknownFile]) 
LogOutputDevice: Error: c3 UE4Editor-RenderCore.dylib!RenderingThreadMain(FEvent*)   [UnknownFile]) 
LogOutputDevice: Error: gThread::Run()   [UnknownFile]) 
LogOutputDevice: Error: ile]) 
LogOutputDevice: Error: ack] 0x665a1d76 libsystem_pthread.dylib!_pthread_start()   [UnknownFile]) 
LogOutputDevice: Error: read.dylib!thread_start()   [UnknownFile]) 
LogOutputDevice: Error: 000 s
LogOutputDevice: Error: [Callstack] 0x045a87ab UE4Editor-Core.dylib!signal_handler_callback()   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x045a5259 UE4Editor-Core.dylib!internal_callback_iterator(int, __siginfo*, __darwin_ucontext*, void*)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x045a51bf UE4Editor-Core.dylib!plcrash_signal_handler()   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x66596b1d libsystem_platform.dylib!_sigtramp()   [UnknownFile]) 
LogOutputDevice: Error: 
LogOutputDevice: Error: [Callstack] 0x4c627f1b UE4Editor-MetalRHI.dylib!FMetalCommandEncoder::SetShaderTexture(mtlpp::FunctionType, FMetalTexture const&, unsigned long, mtlpp::ResourceUsage)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x4c6c94f6 UE4Editor-MetalRHI.dylib!FMetalStateCache::CommitResourceTable(EMetalShaderStages, mtlpp::FunctionType, FMetalCommandEncoder&)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x4c6ca319 UE4Editor-MetalRHI.dylib!FMetalRenderPass::CommitDispatchResourceTables()   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x4c6c304c UE4Editor-MetalRHI.dylib!FMetalRenderPass::PrepareToDispatch()   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x4c6c1afa UE4Editor-MetalRHI.dylib!FMetalRenderPass::Dispatch(unsigned int, unsigned int, unsigned int)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x4c62f293 UE4Editor-MetalRHI.dylib!FMetalRHICommandContext::RHIDispatchComputeShader(unsigned int, unsigned int, unsigned int)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x178f25e1 UE4Editor-Renderer.dylib!FScatterUploadBuilder::UploadTo_Flush(FRHICommandList&, FRWBufferStructured&)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x17a5f6c0 UE4Editor-Renderer.dylib!UpdateGPUScene(FRHICommandListImmediate&, FScene&)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x179a31be UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x17d7f557 UE4Editor-Renderer.dylib!CaptureSceneToScratchCubemap(FRHICommandListImmediate&, FSceneRenderer*, ECubeFace, int, bool, bool, FLinearColor const&)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x17da2cbc UE4Editor-Renderer.dylib!TGraphTask<TEnqueueUniqueRenderCommandType<CaptureSceneIntoScratchCubemap(FScene*, FVector, int, bool, bool, float, bool, bool, FLinearColor const&)::CaptureCommandName, CaptureSceneIntoScratchCubemap(FScene*, FVector, int, bool, bool, float, bool, bool, FLinearColor const&)::$_7> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x04867a60 UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksNamedThread(int, bool)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x048668d3 UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksUntilQuit(int)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x064a21c3 UE4Editor-RenderCore.dylib!RenderingThreadMain(FEvent*)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x06511ab7 UE4Editor-RenderCore.dylib!FRenderingThread::Run()   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x04923dc6 UE4Editor-Core.dylib!FRunnableThreadPThread::Run()   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x048d80d1 UE4Editor-Core.dylib!FRunnableThreadPThread::_ThreadProc(void*)   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x665a1d76 libsystem_pthread.dylib!_pthread_start()   [UnknownFile]) 
LogOutputDevice: Error: [Callstack] 0x6659e5d7 libsystem_pthread.dylib!thread_start()   [UnknownFile]) 
LogOutputDevice: Error: 
 === Handled ensure: ===
 
 Ensure condition failed: IsInGameThread() || IsInAsyncLoadingThread() [File:/Users/build/Build/++UE4/Sync/Engine/Source/Editor/UnrealEd/Public/TickableEditorObject.h] [Line: 79]
 
 Stack: 
 [Callstack] 0x8d54e1ac UE4Editor-NiagaraEditor.dylib!FTickableEditorObject::~FTickableEditorObject()   [UnknownFile]) 
 [Callstack] 0x6644746e libsystem_c.dylib!__cxa_finalize_ranges()   [UnknownFile]) 
 [Callstack] 0x66447744 libsystem_c.dylib!exit()   [UnknownFile]) 
 [Callstack] 0x045a87ab UE4Editor-Core.dylib!signal_handler_callback()   [UnknownFile]) 
 [Callstack] 0x045a5259 UE4Editor-Core.dylib!internal_callback_iterator(int, __siginfo*, __darwin_ucontext*, void*)   [UnknownFile]) 
 [Callstack] 0x045a51bf UE4Editor-Core.dylib!plcrash_signal_handler()   [UnknownFile]) 
 [Callstack] 0x66596b1d libsystem_platform.dylib!_sigtramp()   [UnknownFile]) 
 
 [Callstack] 0x4c627f1b UE4Editor-MetalRHI.dylib!FMetalCommandEncoder::SetShaderTexture(mtlpp::FunctionType, FMetalTexture const&, unsigned long, mtlpp::ResourceUsage)   [UnknownFile]) 
 [Callstack] 0x4c6c94f6 UE4Editor-MetalRHI.dylib!FMetalStateCache::CommitResourceTable(EMetalShaderStages, mtlpp::FunctionType, FMetalCommandEncoder&)   [UnknownFile]) 
 [Callstack] 0x4c6ca319 UE4Editor-MetalRHI.dylib!FMetalRenderPass::CommitDispatchResourceTables()   [UnknownFile]) 
 [Callstack] 0x4c6c304c UE4Editor-MetalRHI.dylib!FMetalRenderPass::PrepareToDispatch()   [UnknownFile]) 
 [Callstack] 0x4c6c1afa UE4Editor-MetalRHI.dylib!FMetalRenderPass::Dispatch(unsigned int, unsigned int, unsigned int)   [UnknownFile]) 
 [Callstack] 0x4c62f293 UE4Editor-MetalRHI.dylib!FMetalRHICommandContext::RHIDispatchComputeShader(unsigned int, unsigned int, unsigned int)   [UnknownFile]) 
 [Callstack] 0x178f25e1 UE4Editor-Renderer.dylib!FScatterUploadBuilder::UploadTo_Flush(FRHICommandList&, FRWBufferStructured&)   [UnknownFile]) 
 [Callstack] 0x17a5f6c0 UE4Editor-Renderer.dylib!UpdateGPUScene(FRHICommandListImmediate&, FScene&)   [UnknownFile]) 
 [Callstack] 0x179a31be UE4Editor-Renderer.dylib!FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&)   [UnknownFile]) 
 [Callstack] 0x17d7f557 UE4Editor-Renderer.dylib!CaptureSceneToScratchCubemap(FRHICommandListImmediate&, FSceneRenderer*, ECubeFace, int, bool, bool, FLinearColor const&)   [UnknownFile]) 
 [Callstack] 0x17da2cbc UE4Editor-Renderer.dylib!TGraphTask<TEnqueueUniqueRenderCommandType<CaptureSceneIntoScratchCubemap(FScene*, FVector, int, bool, bool, float, bool, bool, FLinearColor const&)::CaptureCommandName, CaptureSceneIntoScratchCubemap(FScene*, FVector, int, bool, bool, float, bool, bool, FLinearColor const&)::$_7> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type)   [UnknownFile]) 
 [Callstack] 0x04867a60 UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksNamedThread(int, bool)   [UnknownFile]) 
 [Callstack] 0x048668d3 UE4Editor-Core.dylib!FNamedTaskThread::ProcessTasksUntilQuit(int)   [UnknownFile]) 
 [Callstack] 0x064a21c3 UE4Editor-RenderCore.dylib!RenderingThreadMain(FEvent*)   [UnknownFile]) 
 [Callstack] 0x06511ab7 UE4Editor-RenderCore.dylib!FRenderingThread::Run()   [UnknownFile]) 
 [Callstack] 0x04923dc6 UE4Editor-Core.dylib!FRunnableThreadPThread::Run()   [UnknownFile]) 
 [Callstack] 0x048d80d1 UE4Editor-Core.dylib!FRunnableThreadPThread::_ThreadProc(void*)   [UnknownFile]) 
 [Callstack] 0x665a1d76 libsystem_pthread.dylib!_pthread_start()   [UnknownFile]) 
 [Callstack] 0x6659e5d7 libsystem_pthread.dylib!thread_start()   [UnknownFile]) 

Have Comments or More Details?

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

2
Login to Vote

Unresolved
ComponentRendering
Affects Versions4.24
Target Fix4.25
CreatedOct 25, 2019
UpdatedJan 22, 2020