Unreal Engine compilation error, MSB307, code 8

I encountered the following error message while compiling in C++:

The Command ““C:\Program Files\Epic Games\UE_5.5\Engine\Build\BatchFiles\Build.bat” PluginExperimentEditor Win64 Development -Project=“E:\Temporarily_Project\PluginExperiment\PluginExperiment.uproject” -WaitMutex -FromMsBuild -architecture=x64”exited with code 8.

Hello @JogsLeech_Boys,
You could try disabling the “VisualStudioTools” plugin in the .uproject file, as other users with the same error reported that this solved the issue. To do this, go to your project’s root folder, find the file with the extension .uproject, and open it with a text editor. In the plugins section set VisualStudioTools to false.
Another option that has worked for some people is reinstalling the engine

Hope it helps!

1 Like

Thank you for your help. I finally found the source of the problem. After looking at the logs, I discovered that it was an issue with a plugin. After changing the information in the ‘Plugins’ section of the corresponding .uproject file to false, the problem was resolved!

1 Like