Description

Discovered this while verifying [Link Removed]. Devs informed me of a command line argument that could be used to output D3D11 debug information and using it caused crashes in both //UE4/Main @ CL 3053789 and //UE4/Dev-Rendering @ CL 3052536.

Please see attached video for complete repro if the steps are not clear.

Steps to Reproduce
  1. Sync to CL you intend to test on
  2. Navigate to the project folder via clicking Windows Explorer in UGS
  3. Navigate from the project folder to the UE4Editor.exe found in Engine > Binaries > Win64
  4. With nothing in the folder selected, hold shift and right click in an empty area inside the folder to open a command prompt at that location
  5. Type UE4Editor.exe -d3ddebug into the command prompt and hit enter to execute it
  6. Once the Project Browser appears, create a new Blank Blueprint project with no starter content
  7. Once the new project is loaded, create a new Material and open it in the material editor
  8. Navigate to Details > Material > Material Domain and change it from Surface to Deferred Decal

Result: The editor crashes
Expected Result: The Material Domain is successfully changed

Frequency: 5/5

Callstack

MachineId:326302A14AD7EF0BE6D3AB9D4CE29945
EpicAccountId:bf9b6a91fa5e439083feae1b62a34972

Unknown exception - code 0000087a (first/second chance not available)

KERNELBASE
DXGIDebug
D3D11_1SDKLayers
D3D11_1SDKLayers
D3D11_1SDKLayers
D3D11_1SDKLayers
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHIDrawIndexedPrimitive() [d:\builds\main\engine\source\runtime\windows\d3d11rhi\private\d3d11commands.cpp:1564]
UE4Editor_Renderer!FMeshDrawingPolicy::DrawMesh() [d:\builds\main\engine\source\runtime\renderer\private\drawingpolicy.cpp:152]
UE4Editor_Renderer!FDecalDrawingPolicyFactory::DrawMesh() [d:\builds\main\engine\source\runtime\renderer\private\compositionlighting\postprocessmeshdecals.cpp:501]
UE4Editor_Renderer!FDecalDrawingPolicyFactory::DrawDynamicMesh() [d:\builds\main\engine\source\runtime\renderer\private\compositionlighting\postprocessmeshdecals.cpp:408]
UE4Editor_Renderer!RenderPrimitive() [d:\builds\main\engine\source\runtime\renderer\private\compositionlighting\postprocessmeshdecals.cpp:532]
UE4Editor_Renderer!RenderMeshDecals() [d:\builds\main\engine\source\runtime\renderer\private\compositionlighting\postprocessmeshdecals.cpp:593]
UE4Editor_Renderer!FRCPassPostProcessDeferredDecals::Process() [d:\builds\main\engine\source\runtime\renderer\private\compositionlighting\postprocessdeferreddecals.cpp:556]
UE4Editor_Renderer!FRenderingCompositionGraph::RecursivelyProcess() [d:\builds\main\engine\source\runtime\renderer\private\postprocess\renderingcompositiongraph.cpp:656]
UE4Editor_Renderer!FRenderingCompositePassContext::Process() [d:\builds\main\engine\source\runtime\renderer\private\postprocess\renderingcompositiongraph.cpp:211]
UE4Editor_Renderer!FCompositionLighting::ProcessAfterBasePass() [d:\builds\main\engine\source\runtime\renderer\private\compositionlighting\compositionlighting.cpp:369]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [d:\builds\main\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:958]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [d:\builds\main\engine\source\runtime\renderer\private\scenerendering.cpp:1885]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`21'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [d:\builds\main\engine\source\runtime\core\public\async\taskgraphinterfaces.h:868]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\builds\main\engine\source\runtime\core\private\async\taskgraph.cpp:932]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\builds\main\engine\source\runtime\core\private\async\taskgraph.cpp:679]
UE4Editor_RenderCore!RenderingThreadMain() [d:\builds\main\engine\source\runtime\rendercore\private\renderingthread.cpp:319]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\builds\main\engine\source\runtime\rendercore\private\renderingthread.cpp:440]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\builds\main\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.13
Target Fix4.14
Fix Commit3102654
Main Commit3109297
Release Commit3159180
CreatedJul 18, 2016
ResolvedAug 26, 2016
UpdatedMay 2, 2018
View Jira Issue