Download

MSB3075 error

Hey everyone, i am getting this error every time i try to build my project from source!

Severity    Code    Description    Project    File    Line    Suppression State
Error    MSB3075    The command "D:\Github\UnrealEngine\Engine\Build\BatchFiles\Build.bat -Target="SteamMultiplayerEditor Win64 Development -Project="D:\Desktop\SteamMultiplayer\SteamMultiplayer.uproject"" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.    SteamMultiplayer    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets    44    

my log looks like this

1>------ Build started: Project: SteamMultiplayer, Configuration: Development_Editor x64 ------
1>Using 'git status' to determine working set for adaptive non-unity build (D:\Github\UnrealEngine).
1>Creating makefile for SteamMultiplayerEditor (no existing makefile)
1>Parsing headers for SteamMultiplayerEditor
1>  Running UnrealHeaderTool "D:\Desktop\SteamMultiplayer\SteamMultiplayer.uproject" "D:\Desktop\SteamMultiplayer\Intermediate\Build\Win64\SteamMultiplayerEditor\Development\SteamMultiplayerEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors
1>D:/Desktop/SteamMultiplayer/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes/AdvancedSteamFriendsLibrary.h(248) : LogCompile: Error: 'SteamAvatarSize' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>D:/Desktop/SteamMultiplayer/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes/AdvancedSteamWorkshopLibrary.h(177) : LogCompile: Error: 'FBPSteamResult' does not have a 0 entry! (This is a problem when the enum is initalized by default)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command "D:\Github\UnrealEngine\Engine\Build\BatchFiles\Build.bat -Target="SteamMultiplayerEditor Win64 Development -Project="D:\Desktop\SteamMultiplayer\SteamMultiplayer.uproject"" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project "SteamMultiplayer.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

Any solutions to this problem?

Thanks in advance for your help!

Same error for me. I don’t know how to fix it, but by looking at the error, we can see the flag -WarningsAsErrors , may be we should turn it off, but how?

I finally got it to work. I removed my Visual Studio 2019 installation, upgraded my VS 2017 installation to the latest release, tried again from scratch ( I re-downloaded everything) to build the engine in the latest version (4.24.2), and I had to update my project to this new engine version but now it works!

I hope it will help you!

I generated the MSB3075 error by leaving the UFUNCTION() macro in an override function. I tested a couple times to make sure this is what was generating the error. I would suggest checking your functions before taking more drastic actions.
In Parent.h:
UFUNCTION(BlueprintCallable)
virtual void BuildGameObject(FName ObjectID);

In Child.h:
UFUNCTION(BlueprintCallable)
virtual void BuildGameObject(FName ObjectID); Generates MSB3075 Error

            virtual void BuildGameObject(FName ObjectID); **No Error Generated.**

i will look at it thanks!

this worked for me i dont know why its causing the error but it is.