I have this large c++ code that works fine on 5.5.x but after migrate to 5.6 I got a startup crash on editor when using directx12.
[[2025.06.15-16.45.27:358][ 0]]LogD3D12RHI: Error: hr failed
at D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12CommandList.cpp:277
with error E_INVALIDARG
Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 1015]
hr failed
at D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12CommandList.cpp:277
with error E_INVALIDARG
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in UnrealEditor.exe.
My spec:
CPU: AMD Ryzen 5 5500
GPU: NVIDIA GeForce RTX 3060
Visual C++: 19.38.33130.00
OS: Windows 10 (22H2)