x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UBT Error, Error MSB3075

Hey, I have been having a problem with builds failing in Visual Studio 2015 Community Edition the second time I build them. I am able to build once without getting this error, but when I make any changes (even if its just deleting white space) I get this Failed Build error as you an see below. This happens with any project I attempt to build, old or new.

Any help would be appreciated.


1>------ Build started: Project: UE4, > Configuration: > BuiltWithUnrealBuildTool Win32 ------ > 2>------ Build started: Project: > Building_Escape, Configuration: > Development_Editor x64 ------ 2> > Compiling game modules for hot reload > 2> Parsing headers for > Building_EscapeEditor 2> Running > UnrealHeaderTool > "D:\Projects\Unreal\Building_Escape\Building_Escape\Building_Escape.uproject" > "D:\Projects\Unreal\Building_Escape\Building_Escape\Intermediate\Build\Win64\Building_EscapeEditor\Development\Building_EscapeEditor.uhtmanifest" > -LogCmds="loginit warning, logexit warning, logdatabase error" > -Unattended -WarningsAsErrors -installed 2> Reflection code generated for Building_EscapeEditor in > 2.6175988 seconds 2> Performing 4 actions (4 in parallel) 2> > OpenDoor.cpp 2> > Building_Escape.generated.cpp 2> > [3/4] Link > UE4Editor-Building_Escape-9487.dll 2> > [4/4] Link > UE4Editor-Building_Escape-2017.lib 2> > Creating library > D:\Projects\Unreal\Building_Escape\Building_Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Building_Escape-9487.lib > and object > D:\Projects\Unreal\Building_Escape\Building_Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Building_Escape-9487.exp > 2> Creating library > D:\Projects\Unreal\Building_Escape\Building_Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Building_Escape-9487.suppressed.lib > and object > D:\Projects\Unreal\Building_Escape\Building_Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Building_Escape-9487.suppressed.exp > 2>ERROR : UBT error : Failed to > produce item: > D:\Projects\Unreal\Building_Escape\Building_Escape\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Building_Escape-2017.lib > 2> Total build time: 4.97 seconds > (Local executor: 0.00 seconds) > 2>C:\Program Files > (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): > error MSB3075: The command > ""D:\Applications\Development\Unreal > Engine\UE_4.15\Engine\Build\BatchFiles\Build.bat" > Building_EscapeEditor Win64 > Development > "D:\Projects\Unreal\Building_Escape\Building_Escape\Building_Escape.uproject" > -waitmutex" exited with code 5. Please verify that you have sufficient rights > to run this command. > ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped > ==========

Product Version: UE 4.15
Tags:
more ▼

asked Mar 06 '17 at 05:04 PM in C++ Programming

avatar image

h3x1e
1 1 2 3

avatar image h3x1e Mar 06 '17 at 07:08 PM

update: I can build the C++ Code if Unreal Editor isn't open and I don't get the error. The second I open the Project in Unreal Editor and try to build in VS2015 Community I get that error in Visual Studio.

avatar image h3x1e Mar 07 '17 at 09:47 AM

Tried reinstalling both Visual Studio and unreal Engine 4.15.0 on the same drive , it did not fix the issue but is now giving me even worse issues by not allowing me to open the solution when making a brand new project.alt text

avatar image h3x1e Mar 07 '17 at 11:18 AM

Fixed the above issue, however still getting the Build Error issue in VS2015 and Unreal 4.15.0

avatar image karanseq Mar 08 '17 at 07:51 AM

I'm facing the same issue. I need to rebuild each time which takes way too long. This never happened on a similar setup on the previous version of the engine.

avatar image h3x1e Mar 08 '17 at 09:48 AM

It seems I have found a "Work Around" for this issue however it does cause another issue which I have yet to get fixed.

alt text

This is the configuration manager accessed via

  1. Build > Configuration manager (once a solution has been opened.)

  2. Active Solution configuration > Development

  3. Editor Active Solution Platform > x64

  4. UE4 > Platform > Dropdown > New...

  5. New Platform > ARM

  6. Copy Settings from: > x64

  7. Create New Solution Platforms Checked.

  8. Select x64 for UE4 and this should fix the issue.

I am now however having an issue with the Hot Reload feature of Unreal where it has complacently stopped working and I've yet to find a solution that sticks.

avatar image karanseq Mar 08 '17 at 10:57 PM

Compiling the code from within the UE4 editor instead of VS works for me at the moment. Would still like to know why the error occurs when building through VS though.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

这个问题我花了大半天时间来搜索解决方案。终于找到了有用的东西

I spent almost half day to search for the solution to this.Finally, I found something useful.

https://answers.unrealengine.com/questions/429455/link-errors-in-ubttasknode-classes.html https://answers.unrealengine.com/questions/511544/errorlnk2001-within-ubtservice-class.html?sort=oldest

可以参考一下上面两个问题的答案,其实两个都一样。

You can refer these two links above. Both the same, either one will be fine.

为了方便你们,我直接复制了解决方案:

For your convenient, I copyed it :

This is a known issue with changing to 4.12 and using tasks. It can be resolved by simply adding “GameplayTasks” to the PublicDependencyModuleNames section inside your ‘ProjectName’.Build.cs For example: PublicDependencyModuleNames.AddRange(new string[] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “AIModule”, “GameplayTasks” });

在YourProjectName.Build.cs里的PublicDependencyModuleNames加上GameplayTasks就行。

Add GameplayTasks to PublicDependencyModuleNames of the YourProjectName.Build.cs file~.

more ▼

answered May 27 '18 at 03:46 AM

avatar image

RemRemRemRe
46 1 3 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question