VoxelPlugin / VoxelPluginFreeLegacy

Voxel Plugin Legacy for Unreal Engine
https://voxelplugin.com
1.57k stars 297 forks source link

ShaderCompilerWorker will crash with DX12 in 4.25.1 #49

Closed Phyronnaz closed 4 years ago

Phyronnaz commented 4 years ago

Simple repo:

  1. Load editor with DX12
  2. Open /Voxel/Examples/Materials/Quixel/MI_VoxelQuixel_FiveWayBlend.MI_VoxelQuixel_FiveWayBlend
  3. Crash right away
[2020.06.12-14.00.05:835][602]LogAssetEditorSubsystem: Opening Asset editor for MaterialInstanceConstant /Voxel/Examples/Materials/Quixel/MI_VoxelQuixel_FiveWayBlend.MI_VoxelQuixel_FiveWayBlend
[2020.06.12-14.00.06:613][602]LogMaterial: Display: Missing cached shader map for material Material_3, compiling. 
The thread 0x99c has exited with code 0 (0x0).
[2020.06.12-14.00.06:635][602]LogShaderCompilers: Display: Worker (1/9): shaders left to compile 4
[2020.06.12-14.00.06:636][602]LogShaderCompilers: Display: Worker (2/9): shaders left to compile 3
[2020.06.12-14.00.06:636][602]LogShaderCompilers: Display: Worker (3/9): shaders left to compile 2
[2020.06.12-14.00.06:636][602]LogShaderCompilers: Display: Worker (4/9): shaders left to compile 1
Exception thrown at 0x00007FFBC038A799 in UE4Editor.exe: Microsoft C++ exception: _com_error at memory location 0x000000BA1C3FC268.
Fatal error: [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/D3D12RHI/Private/D3D12Util.cpp] [Line: 581] 
hr failed 
 at D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/D3D12RHI/Private/Windows/WindowsD3D12PipelineState.cpp:697 
 with error E_INVALIDARG
Phyronnaz commented 4 years ago

This is a bug in Unreal 4.25 with DX12.