Description

A crash will occur when editing the Draw Size of a Widget Blueprint in an Actor Blueprint class. Sometimes it will crash instantly after editing the Draw Size and other times it will take a couple of tries to trigger the crash.

Steps to Reproduce
  1. Create a Widget Blueprint and open it.
  2. Drag a widget from the Palette into the Designer.
  3. Compile, Save, and close the Widget Blueprint.
  4. Create a Blueprint Class based off of Actor.
  5. Add Component > Widget
  6. In the Details panel, under User Interface, change Widget Class to your newly created Widget Blueprint.
  7. Underneath Widget Class, start adjusting the Draw Size sliders for both X and Y.

RESULTS: The Editor will crash when the Draw Size values are adjusted.

Note: Typically crashes if values become negative or very high (8-16k+) as they surpass the limits of render resource creation.

Callstack

UE4Editor_D3D11RHI!FD3D11DynamicRHI::CreateD3D11Texture2D<FD3D11BaseTexture2D>() d3d11texture.cpp:471
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHICreateTexture2D() d3d11texture.cpp:989
UE4Editor_RHI!FDynamicRHI::RHICreateTexture2D_RenderThread() rhicommandlist.cpp:1917
UE4Editor_RHI!FRHICommandListImmediate::CreateTexture2D() rhicommandlist.h:2557
UE4Editor_Engine!RHICreateTexture2D() rhicommandlist.h:3141
UE4Editor_Engine!RHICreateTargetableShaderResource2D() rhiutilities.h:376
UE4Editor_Engine!FTextureRenderTarget2DResource::InitDynamicRHI() texturerendertarget2d.cpp:355
UE4Editor_RenderCore!FRenderResource::InitResource() renderresource.cpp:29
UE4Editor_RenderCore!TGraphTask<`BeginInitResource'::`2'::EURCMacro_InitCommand>::ExecuteTask() taskgraphinterfaces.h:886
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() taskgraph.cpp:779
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() taskgraph.cpp:526
UE4Editor_RenderCore!RenderingThreadMain() renderingthread.cpp:310
UE4Editor_RenderCore!FRenderingThread::Run() renderingthread.cpp:417
UE4Editor_Core!FRunnableThreadWin::Run() windowsrunnablethread.cpp:74

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentRendering
Affects Versions4.10.24.114.12
Target Fix4.13.1
Fix Commit3114173
CreatedFeb 2, 2016
ResolvedSep 6, 2016
UpdatedSep 28, 2016