I’m using Unreal 4.26 and trying to extend it to show shader debug info in Nsight gpu crash dumps. I’ve been following the D3D12HelloNsightAftermath sample which works and shows the shader source and DXIL correctly. In UE4 I’m compiling all shaders with DXIL and dumping shader binary, pdb and nvdbg to separate folders and pointing Nsight to them but I get this error:
Hello,
Thank you for your feedback on Nsight Aftermath. I discussed with our engineer here and we are wondering if you have the means to modify the DXC compiler flags used by Unreal Engine? We think that the UE4 shader compiler may be using some incompatible combination of flags.
Regards,
Yes I’m using the source code version of Unreal 4.26 and haven’t made any changes to Unreal’s shader compilation code. Are there certain flags I should look out for?
Hello,
A few months ago you reported an issue regarding Nvidia Aftermath crash dump shows “shader object file not found”. I wanted to let you know that this issue has been addressed in Nsight Graphics 2022.6.1, released on 12/21/2022. Thanks again for reporting your issue, and if you have any further comments, don’t hesitate to send in more feedback.
Regards,