Getting Error MSB3075: ... -rocket" Exited with code 5

Hi,

I’m a newbie to UE programming and I’m getting error MSB3075 when trying to build my code. Code was working fine and I tried to add a projectile class and then got this error. Below is the errors list

Error 1 error code: OtherCompilationError (5) C:\Users\Lokesh Gudiwada\Documents\Unreal Projects\FirstPerson_Shoot\Intermediate\ProjectFiles\Error FirstPerson_Shoot Error 2 error MSB3075: The command ““C:\Program Files\Epic Games\4.8\Engine\Build\BatchFiles\Rebuild.bat” FirstPerson_ShootEditor Win64 DebugGame “C:\Users\Lokesh Gudiwada\Documents\Unreal Projects\FirstPerson_Shoot\FirstPerson_Shoot.uproject” -rocket” exited with code 5. Please verify that you have sufficient rights to run this command. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 43 5 FirstPerson_Shoot

I’m Using MVS2013 and VA trail version about to expire in a day. Please let me know what to do to resolve this exited issues. Thanks in advance

Sounds like you do not have administrative privileges.

Try troubleshooting by running the command ““C:\Program Files\Epic Games\4.8\Engine\Build\BatchFiles\Rebuild.bat” FirstPerson_ShootEditor Win64 DebugGame “C:\Users\Lokesh Gudiwada\Documents\Unreal Projects\FirstPerson_Shoot\FirstPerson_Shoot.uproject” -rocket”

In cmd

Thanks BunniPhd for Quick response. I tried the command in command prompt and I got the below response

Cleaning FirstPerson_ShootEditor Binaries…
ERROR: Couldn’t find target rules file for target ‘FirstPerson_ShootEditor’ in rules assembly ‘FirstPerson_ShootEditorModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
Location: \Unreal Projects\FirstPerson_Shoot\Intermediate\Build\BuildRules\FirstPerson_ShootEditorModuleRules.dll
Target rules found: UE4Editor - C:\Program Files\Epic Games\4.8\Engine\Source\UE4Editor.Targ
et.cs
UE4Game - C:\Program Files\Epic Games\4.8\Engine\Source\UE4Game.Target.cs

Build.bat not found in C:\Program Files\Epic Games\4.8\Engine\Source\Program Files\Epic Games\4.8\Engine\Build\BatchFiles\

how did you solve it? If you did :slight_smile:

Hi there. Please check that all your dependencies are compiling successfully ( plugins and code)
This error sometimes appears because another issue is happening. For instance in my build I’m using a plugin which definitely works with the engine version I’m on. But if I add -skipcompile to my build I get this: during output:

2>C:/Program Files/Epic
Games/UE_4.17/Engine/Plugins/Marketplace/InputBufferAdvanced/Source/InputBuffer/Classes/InputCommand.h(88)
: LogCompile: Error: An explicit
Category specifier is required for any
property exposed to the editor or
Blueprints in an Engine module. 2>EXEC
: error : UnrealHeaderTool failed for
target ‘BeatEvenMoAzzEditor’
(platform: Win64, module info:
exit code: OtherCompilationError (5)).
2>C:\Program Files (x86)\Microsoft
Visual
Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5):
error MSB3075: The command
""C:\Program Files\Epic
Games\UE_4.17\Engine\Build\BatchFiles\Build.bat"
BeatEvenMoAzzEditor Win64 Development
“…BeatEvenMoAzz.uproject”
-waitmutex" exited with code 5. Please verify that you have sufficient rights
to run this command.

I have VS running under admin permissions and when I remove -skipcompile the build command runs successfully.
Not sure this can be helped since it’s a windows error and not a UHT error.