Steps to Reproduce

Download the licensee repro here - [Link Removed]

Open PIE and press play. Please note: the viewport will be completely black but that is not relevant.

If it doesn't immediately crash, move around a bit using WASD and it should.

Callstack
 	ntdll.dll!RtlEnterCriticalSection()	Unknown
>	[Inline Frame] UE4Editor-D3D12RHI.dll!Windows::EnterCriticalSection(Windows::CRITICAL_SECTION *) Line 220	C++
 	[Inline Frame] UE4Editor-D3D12RHI.dll!FWindowsCriticalSection::Lock() Line 47	C++
 	[Inline Frame] UE4Editor-D3D12RHI.dll!FScopeLock::{ctor}(FWindowsCriticalSection *) Line 39	C++
 	UE4Editor-D3D12RHI.dll!FD3D12OfflineDescriptorManager::FreeHeapSlot(D3D12_CPU_DESCRIPTOR_HANDLE Offset, unsigned int index) Line 237	C++
 	[Inline Frame] UE4Editor-D3D12RHI.dll!TD3D12ViewDescriptorHandle<D3D12_RENDER_TARGET_VIEW_DESC>::FreeDescriptorSlot() Line 227	C++
 	[Inline Frame] UE4Editor-D3D12RHI.dll!TD3D12ViewDescriptorHandle<D3D12_RENDER_TARGET_VIEW_DESC>::{dtor}() Line 658	C++
 	[Inline Frame] UE4Editor-D3D12RHI.dll!FD3D12View<D3D12_RENDER_TARGET_VIEW_DESC>::{dtor}() Line 731	C++
 	UE4Editor-D3D12RHI.dll!FD3D12View<D3D12_RENDER_TARGET_VIEW_DESC>::`scalar deleting destructor'(unsigned int)	C++
 	[Inline Frame] UE4Editor-RenderCore.dll!TRefCountPtr<IPooledRenderTarget>::operator=(IPooledRenderTarget *) Line 205	C++
 	UE4Editor-RenderCore.dll!FRDGBuilder::Execute() Line 1336	C++
 	UE4Editor-Renderer.dll!FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate & RHICmdList) Line 2707	C++
 	UE4Editor-Renderer.dll!RenderViewFamily_RenderThread(FRHICommandListImmediate & RHICmdList, FSceneRenderer * SceneRenderer) Line 3727	C++
 	UE4Editor-Renderer.dll!FRendererModule::BeginRenderingViewFamily::__l35::<lambda>(FRHICommandListImmediate & RHICmdList) Line 3990	C++
 	[Inline Frame] UE4Editor-Renderer.dll!EnqueueUniqueRenderCommand(FRendererModule::BeginRenderingViewFamily::__l35::void <lambda>(FRHICommandListImmediate &) &&) Line 244	C++
 	UE4Editor-Renderer.dll!FRendererModule::BeginRenderingViewFamily(FCanvas * Canvas, FSceneViewFamily * ViewFamily) Line 3982	C++
 	UE4Editor-Engine.dll!UGameViewportClient::Draw(FViewport * InViewport, FCanvas * SceneCanvas) Line 1649	C++
 	UE4Editor-Engine.dll!FViewport::Draw(bool bShouldPresent) Line 1573	C++
 	UE4Editor-UnrealEd.dll!UEditorEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 1945	C++
 	UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 426	C++
 	UE4Editor.exe!FEngineLoop::Tick() Line 4919	C++
 	[Inline Frame] UE4Editor.exe!EngineTick() Line 62	C++
 	UE4Editor.exe!GuardedMain(const wchar_t * CmdLine) Line 178	C++
 	UE4Editor.exe!LaunchWindowsStartup(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow, const wchar_t * CmdLine) Line 262	C++
 	UE4Editor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * pCmdLine, int nCmdShow) Line 320	C++
 	[Inline Frame] UE4Editor.exe!invoke_main() Line 102	C++
 	UE4Editor.exe!__scrt_common_main_seh() Line 288	C++
 	kernel32.dll!BaseThreadInitThunk()	Unknown
 	ntdll.dll!RtlUserThreadStart()	Unknown

Have Comments or More Details?

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

3
Login to Vote

Fixed
ComponentUE - Rendering - RHI
Affects Versions4.26.2
Target Fix4.27.2
Fix Commit17796602
CreatedMay 13, 2021
ResolvedOct 13, 2021
UpdatedOct 25, 2021