Description

The editor crashes when loading a SubLevel with HierarchicalInstancedStaticMeshComponent and SphereReflectionCapture via the levels window.

Working as expected in 4.19 CL# 4033788
Found in 4.20 CL# 4302132 and 4.21 CL# 4328255

This is a regression.

Steps to Reproduce
  1. Open attached project
  2. Open the "Stream" level via the Levels window

Results:
The Editor will crash

Expected:
The level would load

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_D3D11RHI!FD3D11DynamicRHI::InternalSetShaderResourceView<0>() [d:\main\engine\source\runtime\windows\d3d11rhi\private\d3d11rhi.cpp:196]
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHISetShaderResourceViewParameter() [d:\main\engine\source\runtime\windows\d3d11rhi\private\d3d11commands.cpp:522]
UE4Editor_Engine!FInstancedStaticMeshVertexFactoryShaderParameters::SetMesh() [d:\main\engine\source\runtime\engine\private\instancedstaticmesh.cpp:2466]
UE4Editor_Renderer!FMeshMaterialShader::SetMesh<FRHIVertexShader * __ptr64>() [d:\main\engine\source\runtime\renderer\private\shaderbaseclasses.cpp:413]
UE4Editor_Renderer!FDepthDrawingPolicy::SetMeshRenderState() [d:\main\engine\source\runtime\renderer\private\depthrendering.cpp:456]
UE4Editor_Renderer!FDepthDrawingPolicyFactory::DrawMesh() [d:\main\engine\source\runtime\renderer\private\depthrendering.cpp:765]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderPrePassViewDynamic() [d:\main\engine\source\runtime\renderer\private\depthrendering.cpp:847]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderPrePassView() [d:\main\engine\source\runtime\renderer\private\depthrendering.cpp:979]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderPrePass() [d:\main\engine\source\runtime\renderer\private\depthrendering.cpp:1345]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [d:\main\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:799]
UE4Editor_Renderer!CaptureSceneToScratchCubemap() [d:\main\engine\source\runtime\renderer\private\reflectionenvironmentcapture.cpp:716]
UE4Editor_Renderer!TGraphTask<`CaptureSceneIntoScratchCubemap'::`4'::EURCMacro_CaptureCommand>::ExecuteTask() [d:\main\engine\source\runtime\core\public\async\taskgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\main\engine\source\runtime\core\private\async\taskgraph.cpp:665]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\main\engine\source\runtime\core\private\async\taskgraph.cpp:574]
UE4Editor_RenderCore!RenderingThreadMain() [d:\main\engine\source\runtime\rendercore\private\renderingthread.cpp:333]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\main\engine\source\runtime\rendercore\private\renderingthread.cpp:467]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\main\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]

Have Comments or More Details?

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

3
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.204.21
Target Fix4.21
Fix Commit4373611
Main Commit4373611
Release Commit4399518
CreatedAug 30, 2018
ResolvedSep 18, 2018
UpdatedOct 2, 2018
View Jira Issue