Description

Crash when enabling Level of Detail Coloration viewmodes in the Dataprep editor while using DX12

This crash does not occur when the project is opened with DX11.

Note that the Dataprep editor does not seem to have a viewport in 4.23. 

Steps to Reproduce
  1. Download and unzip the attached asset(s) located [Link Removed]
  2. Run UE4Editor.exe
  3. Create a new Blank Architecture, Engineering, and Construction project with Raytracing support enabled
    1. Alternatively, create the project with Raytracing support disabled, but launch the project with -dx12
  1. In the Content Browser, right click > Dataprep > Dataprep Asset
  2. Open the Dataprep Asset
  3. In the top right of the Dataprep Editor, select the + button to the right of Inputs
  4. Select Datasmith File Importer
  5. Navigate to the unzipped folder and select MeshCrashHouse_V3_WithTextures.udatasmith > select Open
  6. In the Dataprep Editor toolbar, select Import
  7. In the Preview Viewport, select Lit > Level of Detail Coloration > Mesh LODs

Result: Project crashes

Callstack
Unhandled Exception: 0x80000003

UE4Editor_D3D12RHI!FD3D12PipelineStateCache::OnPSOCreated() [d:\build\++ue4\sync\engine\source\runtime\d3d12rhi\private\windows\windowsd3d12pipelinestate.cpp:123]
UE4Editor_D3D12RHI!<lambda_9f581b56afde089ae478892a6922d26d>::operator()() [d:\build\++ue4\sync\engine\source\runtime\d3d12rhi\private\d3d12pipelinestate.cpp:451]
UE4Editor_D3D12RHI!FD3D12PipelineStateCacheBase::AddToLowLevelCache() [d:\build\++ue4\sync\engine\source\runtime\d3d12rhi\private\d3d12pipelinestate.cpp:489]
UE4Editor_D3D12RHI!FD3D12PipelineStateCacheBase::CreateAndAdd() [d:\build\++ue4\sync\engine\source\runtime\d3d12rhi\private\d3d12pipelinestate.cpp:638]
UE4Editor_D3D12RHI!FD3D12DynamicRHI::RHICreateGraphicsPipelineState() [d:\build\++ue4\sync\engine\source\runtime\d3d12rhi\private\d3d12state.cpp:503]
UE4Editor_RHI!FCompilePipelineStateTask::DoTask() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\pipelinestatecache.cpp:792]
UE4Editor_RHI!TGraphTask<FCompilePipelineStateTask>::ExecuteTask() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:847]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasks() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:1029]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasksUntilQuit() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:855]
UE4Editor_Core!FTaskThreadAnyThread::Run() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:931]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:96]

Have Comments or More Details?

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

5
Login to Vote

Fixed
ComponentUE - Rendering Architecture - RHI
Affects Versions4.24
Target Fix4.25.1
Fix Commit13508704
Main Commit14151001
Release Commit13508704
CreatedDec 2, 2019
ResolvedMay 22, 2020
UpdatedAug 26, 2020