Description

Ensure occurs when adding a Constant3Vector to the Material Graph in Forward Shading.

Works as expected in 4.21 CL# 4753647

Found in 4.22 CL# 6063286 and 4.23 CL# 6395561

Steps to Reproduce
  1. Open the Editor
  2. Enable Forward shading and restart the editor
  3. Create a new material and open it
  4. Add a Constant3Vector

Result:
The Editor hangs and the Ensure occurs

Expected:
No hang or ensure when adding the Constant3Vector

Note:
Saving and closing the editor and then re-opening the material will cause the ensure as well

Callstack
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: !ReflectionCaptureBuffer.IsBound() [File:d:\jeremymain\engine\source\runtime\renderer\private\BasePassRendering.inl] [Line: 89]
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007ffd7c576978 UE4Editor-Renderer.dll!<lambda_546f5d4d09c7ed88ec9f1c978fd02c6c>::operator()() [d:\jeremymain\engine\source\runtime\renderer\private\basepassrendering.inl:89]
LogOutputDevice: Error: [Callstack] 0x00007ffd7be26e82 UE4Editor-Renderer.dll!FMeshPassProcessor::BuildMeshDrawCommands<TMeshProcessorShaders<TBasePassVertexShaderPolicyParamType<FUniformLightMapPolicy>,FBaseHS,FBaseDS,TBasePassPixelShaderPolicyParamType<FUniformLightMapPolicy>,FMeshMaterialShader,FMeshMaterialShader,FMeshMaterialShader>,TBasePassShaderEleme
ntData<FUniformLightMapPolicy> >() [d:\jeremymain\engine\source\runtime\renderer\public\meshpassprocessor.inl:85]
LogOutputDevice: Error: [Callstack] 0x00007ffd7be33bd8 UE4Editor-Renderer.dll!FBasePassMeshProcessor::Process<FUniformLightMapPolicy>() [d:\jeremymain\engine\source\runtime\renderer\private\basepassrendering.cpp:966]
LogOutputDevice: Error: [Callstack] 0x00007ffd7be61842 UE4Editor-Renderer.dll!FBasePassMeshProcessor::AddMeshBatch() [d:\jeremymain\engine\source\runtime\renderer\private\basepassrendering.cpp:1500]
LogOutputDevice: Error: [Callstack] 0x00007ffd7c3479d3 UE4Editor-Renderer.dll!FRendererModule::DrawTileMesh() [d:\jeremymain\engine\source\runtime\renderer\private\renderer.cpp:276]
LogOutputDevice: Error: [Callstack] 0x00007ffd81839ba0 UE4Editor-Engine.dll!FCanvasTileRendererItem::Render_RenderThread() [d:\jeremymain\engine\source\runtime\engine\private\tilerendering.cpp:394]
LogOutputDevice: Error: [Callstack] 0x00007ffd8191b2af UE4Editor-Engine.dll!FCanvas::Flush_RenderThread() [d:\jeremymain\engine\source\runtime\engine\private\userinterface\canvas.cpp:722]
LogOutputDevice: Error: [Callstack] 0x00007ffd79ee5d45 UE4Editor-GraphEditor.dll!FPreviewElement::DrawRenderThread() [d:\jeremymain\engine\source\editor\grapheditor\private\materialnodes\sgraphnodematerialbase.cpp:235]
LogOutputDevice: Error: [Callstack] 0x00007ffd75b4fce2 UE4Editor-SlateRHIRenderer.dll!FSlateRHIRenderingPolicy::DrawElements() [d:\jeremymain\engine\source\runtime\slaterhirenderer\private\slaterhirenderingpolicy.cpp:1262]
LogOutputDevice: Error: [Callstack] 0x00007ffd75b570cd UE4Editor-SlateRHIRenderer.dll!FSlateRHIRenderer::DrawWindow_RenderThread() [d:\jeremymain\engine\source\runtime\slaterhirenderer\private\slaterhirenderer.cpp:829]
LogOutputDevice: Error: [Callstack] 0x00007ffd75b5fded UE4Editor-SlateRHIRenderer.dll!TGraphTask<TEnqueueUniqueRenderCommandType<`FSlateRHIRenderer::DrawWindows_Private'::`29'::SlateDrawWindowsCommandName,<lambda_076ca5c89cb03ad0d8e3fd21b4a903a2> > >::ExecuteTask() [d:\jeremymain\engine\source\runtime\core\public\async\taskgraphinterfaces.h:847]
LogOutputDevice: Error: [Callstack] 0x00007ffd7fd11f77 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [d:\jeremymain\engine\source\runtime\core\private\async\taskgraph.cpp:685]
LogOutputDevice: Error: [Callstack] 0x00007ffd7fd12233 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [d:\jeremymain\engine\source\runtime\core\private\async\taskgraph.cpp:582]
LogOutputDevice: Error: [Callstack] 0x00007ffdc3e0c831 UE4Editor-RenderCore.dll!RenderingThreadMain() [d:\jeremymain\engine\source\runtime\rendercore\private\renderingthread.cpp:339]
LogOutputDevice: Error: [Callstack] 0x00007ffdc3e136f4 UE4Editor-RenderCore.dll!FRenderingThread::Run() [d:\jeremymain\engine\source\runtime\rendercore\private\renderingthread.cpp:470]
LogOutputDevice: Error: [Callstack] 0x00007ffd801118ff UE4Editor-Core.dll!FRunnableThreadWin::Run() [d:\jeremymain\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:96]
LogOutputDevice: Error: [Callstack] 0x00007ffd80108d81 UE4Editor-Core.dll!FRunnableThreadWin::GuardedRun() [d:\jeremymain\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:53]
LogOutputDevice: Error: [Callstack] 0x00007ffdf01e7974 KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffdf0bda271 ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.224.23
Target Fix4.23
Fix Commit6548397
Main Commit6944849
Release Commit6955818
CreatedMay 15, 2019
ResolvedMay 17, 2019
UpdatedJul 25, 2019
View Jira Issue