Cannot use Night Graphics with Unreal Engine 5 - Mismatched shader version

Upon starting an Unreal Engine 5 build through NVIDIA Nsights a ShaderCompileWorker verification message regarding mismatched shader version is shown. Afterwards it immediately crashes with an array out of bounds error.

Details:

  • We are using latest UE5 version from UE5 5.0 Github Branch.
  • Build configuration is DebugGame Editor, started with -game argument.
  • Tried using -noheartbeatthread argument.
  • Tried enabling r.Shader.Symbols
  • Tested with NVIDIA Nsights 2022.1.1 and 2021.4.1
  • Message: ShaderCompileWorker failed: Mismatched shader version for format PCD3D_SM6: Found version 96578485 but expected 4237827614; did you forget to build ShaderCompilerWorker?
  • Followed by Array index out of bounds: 0 from an array of size 0
  • Unreal Splash Screen is showing the "45% - Compiling Shaders (6.868) indicating it tries to recompile shaders.
  • Starting the project normally or through Microsoft PIX is working.
  • Tested with Activities: Frame Debugger, Frame Profiler

Are there any special steps needed to launch UE5 projects through NVIDIA Insights?
It used to work fine with UE4.

Hello,
Thank you for using Nsight Graphics and sorry you ran into this issue. I have created a bug for your issue and will get back to you if we need any additional information.
Regards,

Using the most recent version of UE5 from UE5Main Branch and the new NVIDIA NSights 2022.2.1 resolved this issue.

Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.