I think the Dx12 Raytracing Tutorial has a small problem you can read here: in my repository
Basically the error
pDesc->HitGroupTable.StartAddress must be aligned to 64 bytes (D3D12_RAYTRACING_SHADER_TABLE_BYTE_ALIGNMENT) and .StrideInBytes must be aligned to 32 bytes (D3D12_RAYTRACING_SHADER_RECORD_BYTE_ALIGNMENT). [ EXECUTION ERROR #1161: DISPATCH_RAYS_INVALID]
appear when trying the code in debug mode every frame
That error seems to disappear in this tutorial that add another ray type
Did i forgot something or is a bug somewhere in the code?