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"

C++ Projects named "Test", "Development" etc will not package properly

(This contains extra info on UE-74975)

An acquaintacne ran into UE-74975 the other day: If you name your project "Test", "Development" or a couple of other things, then UnrealBuildTool fails building it with the error message "ERROR: No target name was specified on the command-line.".

This command line will fail:

 "E:\Program Files\Epic Games\UE_4.22\Engine\Binaries\DotNET\UnrealBuildTool.exe" Test Win64 Development -Project=c:\temp\Test\Test.uproject  c:\temp\Test\Test.uproject -NoUBTMakefiles  -remoteini="c:\temp\Test" -skipdeploy -Manifest=c:\temp\Test\Intermediate\Build\Manifest.xml -NoHotReload -log="C:\Users\Kalms\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+UE_4.22\UBT-Test-Win64-Development.txt"

This command line will succeed:

 "E:\Program Files\Epic Games\UE_4.22\Engine\Binaries\DotNET\UnrealBuildTool.exe" Test2 Win64 Development -Project=c:\temp\Test2\Test2.uproject  c:\temp\Test2\Test2.uproject -NoUBTMakefiles  -remoteini="c:\temp\Test2" -skipdeploy -Manifest=c:\temp\Test2\Intermediate\Build\Manifest.xml -NoHotReload -log="C:\Users\Kalms\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+UE_4.22\UBT-Test2-Win64-Development.txt"

The root of the problem is that UBT expects you to list platforms, target configurations, and targets, without any prefixes. If the user happens to name a target to the exact name of one of the platforms or target configurations, then UBT will treat that commandline parameter as a platform/target configuration instead of as a target.

This problem would be avoided if UBT also supported argument switches for the targets, i.e. a "-Targets=" syntax, in addition to the current syntax. Once UBT supports that, and UE4 Editor uses that syntax, then the problem is eliminated for the common case of new users using UE4 and building their projects from within the editor.

Product Version: UE 4.22
more ▼

asked Jun 17 '19 at 01:24 PM in Packaging & Deployment

avatar image


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

0 answers: sort voted first
Be the first one to answer this question
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