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"

error MSB3075.. -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.

I'm using different version of Visual Studio (run as admin 2013, 2015, 2017) and Unreal Engine (4.14, 4.15, 4.16) - result the same: If project is allocated on disk D for example (not C), Visual Studio can't build it.

 1>------ Build started: Project: testcpp, Configuration: Development_Editor x64 ------
 1>Creating makefile for hot reloading testcppEditor (no existing makefile)
 1>EXEC : error : System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\UE_Projects\testcpp\testcpp.uproject'.
 1>   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 1>   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
 1>   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
 1>   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
 1>   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
 1>   at UnrealBuildTool.JsonObject.Read(String FileName)
 1>   at UnrealBuildTool.ProjectDescriptor.FromFile(String FileName)
 1>   at UnrealBuildTool.RulesCompiler.CreateProjectRulesAssembly(FileReference ProjectFileName)
 1>   at UnrealBuildTool.UEBuildTarget.CreateTarget(TargetDescriptor Desc, String[] Arguments, Boolean bCompilingSingleFile)
 1>   at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile)
 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""D:\Program_D\Epic Games\UE_4.16\Engine\Build\BatchFiles\Build.bat" testcppEditor Win64 Development "D:\!WORK\!UE_Projects\testcpp\testcpp.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
 1>Done building project "testcpp.vcxproj" -- FAILED.
 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Somebody can help with it?)

Product Version: UE 4.16
Tags:
more ▼

asked May 26 '17 at 02:24 PM in C++ Programming

avatar image

6r0m
424 17 16 26

(comments are locked)
10|2000 characters needed characters left

4 answers: sort voted first

The Compiler says it's trying to find the project file at: 'D:\UE_Projects\testcpp\testcpp.uproject'

But your arguments say: ""D:!WORK!UE_Projects\testcpp\testcpp.uproject"

Which is the correct location? Also, have you tried moving your project to a directory without the ! character in the name?

more ▼

answered May 26 '17 at 02:28 PM

avatar image

ExtraLifeMatt
1.5k 34 14 48

avatar image 6r0m May 26 '17 at 02:39 PM

super fast and right answer which I ever get before, Thank you very much! please put it in answer so I can accept it)

avatar image 6r0m May 26 '17 at 02:45 PM

"!" sign in the path break it ;)

(comments are locked)
10|2000 characters needed characters left

如果上面两个答案没用的话,试试我这个。

If those two answers are useless,Try mine.

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

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:30 AM

avatar image

RemRemRemRe
36 3 5

avatar image charmk3 Aug 20 '18 at 06:37 AM

Exactly the solution to my problem, thank you so much!

avatar image sakyaer Sep 29 '18 at 09:03 AM

Useful,Thank you very much

(comments are locked)
10|2000 characters needed characters left

I want to add an answer here as well. I have been building on disk D:. Just recently it stopped. The way I worked around it was to build and compile in Unreal. It works, provided there are no errors, every time. VS is a quirky beast. Try to use work arounds whenever possible. To add to this - my path was correct and nothing seemed different. I even went to a previous build but VS just would not complile and build.

more ▼

answered Apr 28 '18 at 08:52 PM

avatar image

Malice983
21 2

(comments are locked)
10|2000 characters needed characters left

I ran into this same problem when upgrading from 4.20 to 4.21. I tried a few things, but what seemed to work for me was just modifying any of my header of cpp files in any way (I just added a line and commented it out)

more ▼

answered Mar 04 '19 at 04:03 PM

avatar image

patrick58d
56 1 4 9

(comments are locked)
10|2000 characters needed characters left
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