What is causing this build error from source: Build.bat -Target="ShaderCompileWorker" -WaitMutex -FromMsBuild" exited with code 6

I had the same issue on UE 5.1.0/Rider 2022.2.4 and it started when I enabled Live Coding. Disabling it resolved the issue.