Description

When unloading a level containing a decal that is using a dynamic material instance the editor will crash.

Steps to Reproduce
  1. Download the attached project
  2. Open the project
  3. Play in Editor
  4. Press the '1' key

Result: The editor crashes when pressing the '1' key to unload the sublevel containing the decal
Expected: The sublevel will be unloaded

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

UE4Editor_Renderer!FTransientDecalRenderData::FTransientDecalRenderData() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\decalrenderingshared.cpp:47]
UE4Editor_Renderer!FDecalRendering::BuildVisibleDecalList() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\decalrenderingshared.cpp:234]
UE4Editor_Renderer!FRCPassPostProcessDeferredDecals::Process() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\compositionlighting\postprocessdeferreddecals.cpp:731]
UE4Editor_Renderer!FRenderingCompositionGraph::RecursivelyProcess() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\postprocess\renderingcompositiongraph.cpp:687]
UE4Editor_Renderer!FRenderingCompositePassContext::Process() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\postprocess\renderingcompositiongraph.cpp:219]
UE4Editor_Renderer!FCompositionLighting::ProcessBeforeBasePass() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\compositionlighting\compositionlighting.cpp:292]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:861]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\renderer\private\scenerendering.cpp:1849]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`26'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:784]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:650]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:559]
UE4Editor_RenderCore!RenderingThreadMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:325]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:459]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4+release-4.17+compile\sync\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-48587 in the post.

8
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.17
Target Fix4.18
Fix Commit3603731
Main Commit3608256
Release Commit3643070
CreatedAug 18, 2017
ResolvedAug 22, 2017
UpdatedApr 27, 2018
View Jira Issue