How to fix CompilerResultsLog: ERROR: A conflicting instance of UnrealBuildTool is already running

When I pressed build in visual studio, this error message came up and I don’t know how to fix it.

2 Likes

I fixed the error by changing the solution configuration in visual studio from development editor to development.

1 Like

Restart PC, Mac Laptop.

2 Likes

Find and kill dotnet.exe in your task manager process details list.

6 Likes

For me this seems to be some kind of concurrency issue with the UE build system from the editor. For me it happens randomly when packaging a plugin. Just re-running the command a second or third time does the trick. This still happens in UE 5.4.1 and has since at least UE 5.2.1

Explicitly specifying the number of threads with make -j 32 causes the Build.sh script to launch multiple dotnet project configurators, while build concurrency is handled automatically.

make -j 32 CrashReportClient ShaderCompileWorker UnrealLightmass InterchangeWorker UnrealPak UnrealEditor
won’t work, but
make CrashReportClient ShaderCompileWorker UnrealLightmass InterchangeWorker UnrealPak UnrealEditor will
Although the load is fairly moderate.