Description

Engine crashes when the value in the Cubemap Resolution for the SkyLight component in the BP_LightStage is changed by spinning the value. This asset is found within the Advanced_Lighting map of a Blank project with Starter Content. Crash does not occur when a new value is manually entered.

Occurs in 4.17.2 CL 3658906, 4.18.1 CL 3754814, and 4.19 Main

Steps to Reproduce
  1. Create New Blank Project with Starter Content
  2. Open Advanced_Lighting Map
  3. Navigate to BP_LightStage asset, details panel
  4. Under Components, click Skylight1 under Scene1
  5. In the Light section, change the Cubemap Resolution value by spinning

Expected: Cubemap Resolution will increase or decrease as desired
Result: Engine crashes

Callstack
Fatal error: [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 813] 
Rendering thread exception:
Fatal error: [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 294] 
Direct3DDevice->CreateTexture2D(TextureDesc,SubResourceData,OutTexture2D) failed 
 at D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Texture.cpp:441 
 with error E_INVALIDARG, 
 Size=47x47x6 Format=DXGI_FORMAT_R16G16B16A16_FLOAT(0x0000000A), NumMips=7, Flags=D3D11_BIND_SHADER_RESOURCE 


0x0000000098473C58 KERNELBASE.dll!UnknownFunction []
0x0000000077ED76D4 UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]
0x0000000067B1330B UE4Editor-Core.dll!FOutputDevice::Logf__VA() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
0x0000000067AA47F9 UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:414]
0x0000000056A7B5B4 UE4Editor-D3D11RHI.dll!VerifyD3D11CreateTextureResult() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11util.cpp:282]
0x0000000056A75A12 UE4Editor-D3D11RHI.dll!SafeCreateTexture2D() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11texture.cpp:443]
0x0000000056A2DADC UE4Editor-D3D11RHI.dll!FD3D11DynamicRHI::CreateD3D11Texture2D<FD3D11BaseTextureCube>() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11texture.cpp:699]
0x0000000056A62EA9 UE4Editor-D3D11RHI.dll!FD3D11DynamicRHI::RHICreateTextureCube() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11texture.cpp:1604]
0x000000007A3EF83B UE4Editor-RHI.dll!FDynamicRHI::RHICreateTextureCube_RenderThread() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:2453]
0x000000007A3C4A72 UE4Editor-RHI.dll!FRHICommandListImmediate::CreateTextureCube() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\rhi\public\rhicommandlist.h:3977]
0x0000000065538849 UE4Editor-Engine.dll!RHICreateTextureCube() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\rhi\public\rhicommandlist.h:4724]
0x0000000065593BAA UE4Editor-Engine.dll!FSkyTextureCubeResource::InitRHI() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\components\skylightcomponent.cpp:31]
0x000000007A4832BC UE4Editor-RenderCore.dll!FRenderResource::InitResource() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\rendercore\private\renderresource.cpp:33]
0x000000007A4969AA UE4Editor-RenderCore.dll!TGraphTask<`BeginInitResource'::`2'::EURCMacro_InitCommand>::ExecuteTask() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:784]
0x0000000067974845 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:651]
0x0000000067974E2A UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:560]
0x000000007A4A22C4 UE4Editor-RenderCore.dll!RenderingThreadMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:327]
0x000000007A4A32F6 UE4Editor-RenderCore.dll!FRenderingThread::Run() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:461]
0x0000000067D1092C UE4Editor-Core.dll!FRunnableThreadWin::Run() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]
0x0000000067D02563 UE4Editor-Core.dll!FR

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.17.24.18.14.194.23
Target Fix4.23
Fix Commit7039910
Main Commit8980992
Release Commit7325964
CreatedNov 28, 2017
ResolvedJun 17, 2019
UpdatedFeb 12, 2020
View Jira Issue