[4.8.1] Draw material in canvas hits ensure

Regression between 4.8.1 and 4.7.4

How to reproduce:

  1. Create first person template Open
  2. FirstPersonHUD (canvas blueprint)
  3. Replace draw texture node with
  4. DrawMaterialSimple node Use attached material in that node
  5. Hit ensure slowing down startup playback looking like this:

[2015.06.25-19.44.12:228][214]LogOutputDevice: === Handled error: ===

Ensure condition failed: CurrentDepthTexture [File:C:\UnrealEngine\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Commands.cpp] [Line: 650]

Stack:
UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() {0x00007ffc66416af6} + 0 bytes [c:\unrealengine\engine\source\runtime\core\private\windows\wi
UE4Editor-Core.dll!FDebug::EnsureFailed() {0x00007ffc662b2dd1} + 0 bytes [c:\unrealengine\engine\source\runtime\core\private\misc\outpu
UE4Editor-Core.dll!FDebug::EnsureNotFalse_OptionallyLogFormattedEnsureMessageReturningFalse() {0x00007ffc662b3083} + 0 bytes [c:\unrealengine\engine\source\runtime\core\private\misc\outpu
UE4Editor-D3D11RHI.dll!FD3D11DynamicRHI::ValidateExclusiveDepthStencilAccess() {0x00007ffc5c01a459} + 53 bytes [c:\unrealengine\engine\source\runtime\windows\d3d11rhi\privat
UE4Editor-D3D11RHI.dll!FD3D11DynamicRHI::RHISetDepthStencilState() {0x00007ffc5c00dc84} + 0 bytes [c:\unrealengine\engine\source\runtime\windows\d3d11rhi\privat
UE4Editor-Renderer.dll!FTranslucencyDrawingPolicyFactory::DrawMesh() {0x00007ffc5c9bc62e} + 42 bytes [c:\unrealengine\engine\source\runtime\renderer\private\transl
UE4Editor-Renderer.dll!FTranslucencyDrawingPolicyFactory::DrawDynamicMesh() {0x00007ffc5c9bb7f5} + 0 bytes [c:\unrealengine\engine\source\runtime\renderer\private\transl
UE4Editor-Renderer.dll!FRendererModule::DrawTileMesh() {0x00007ffc5c893630} + 0 bytes [c:\unrealengine\engine\source\runtime\renderer\private\render
UE4Editor-Engine.dll!FTileRenderer::DrawTile() {0x00007ffc5eb1c3eb} + 0 bytes [c:\unrealengine\engine\source\runtime\engine\private\tilerend
UE4Editor-Engine.dll!FCanvasTileRendererItem::Render_GameThread'::5’::EURCMacro_DrawTileCommand::DoTask() {0x00007ffc5eb1432d} + 413 bytes [c:\unrealengine\engine\source\runtime\engine\private\tilerend
UE4Editor-Engine.dll!TGraphTask<FCanvasTileRendererItem::Render_GameThread'::5’::EURCMacro_DrawTileCommand>::ExecuteTask() {0x00007ffc5eb24771} + 18 bytes [c:\unrealengine\engine\source\runtime\core\public\async\taskg
UE4Editor-Core.dll!FTaskThread::ProcessTasks() {0x00007ffc66155b81} + 0 bytes [c:\unrealengine\engine\source\runtime\core\private\async\task
UE4Editor-Core.dll!FTaskThread::ProcessTasksUntilQuit() {0x00007ffc66155dad} + 0 bytes [c:\unrealengine\engine\source\runtime\core\private\async\task
UE4Editor-RenderCore.dll!RenderingThreadMain() {0x00007ffc660440fb} + 0 bytes [c:\unrealengine\engine\source\runtime\rendercore\private\rend
UE4Editor-RenderCore.dll!FRenderingThread::Run() {0x00007ffc6604460f} + 0 bytes [c:\unrealengine\engine\source\runtime\rendercore\private\rend
UE4Editor-Core.dll!FRunnableThreadWin::Run() {0x00007ffc664128b8} + 0 bytes [c:\unrealengine\engine\source\runtime\core\private\windows\wi
UE4Editor-Core.dll!FRunnableThreadWin::GuardedRun() {0x00007ffc663fd77d} + 8 bytes [c:\unrealengine\engine\source\runtime\core\private\windows\wi
KERNEL32.DLL {0x00007ffc7a7713d2} + 0 bytes
ntdll.dll {0x00007ffc7c085444} + 0 bytes
ntdll.dll {0x00007ffc7c085444} + 0 bytes

Hi dgrieshofer -

Thank you for your post. We had a report of this ensure but were not able to get a successful simple reproduction. It looks like it is the Responsive AA that is causing the ensures. I have added your reproduction and information to the bug report, for reference UE-17723. As we investigate a solution I will keep you informed here.

Thank You -

Eric Ketchum