# \[4.8.1\] Draw material in canvas hits ensure

**URL:** <https://forums.unrealengine.com/t/4-8-1-draw-material-in-canvas-hits-ensure/323043>\
**Category:** Asset Creation\
**Tags:** unreal-engine, crash, question\
**Created:** [June 25, 2015, 7:52pm UTC](https://forums.unrealengine.com/t/4-8-1-draw-material-in-canvas-hits-ensure/323043 "2015-06-25T19:52:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgrieshofer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dgrieshofer](https://forums.unrealengine.com/u/dgrieshofer)\
**Post date:** [June 25, 2015, 7:52pm UTC](https://forums.unrealengine.com/t/4-8-1-draw-material-in-canvas-hits-ensure/323043/1 "2015-06-25T19:52:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [June 25, 2015, 9:51pm UTC](https://forums.unrealengine.com/t/4-8-1-draw-material-in-canvas-hits-ensure/323043/2 "2015-06-25T21:51:54Z")

</div>

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
