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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

First command-line argument passed to UE4Editor fails to parse when using project switcher

When you start up UE4Editor.exe, you get the project switcher. When you select the project, it re-launches the Editor, passing in the project on the command-line. Example:

 UE4Editor.exe "C:/Development/ExampleProject/Example.uproject"

If you pass arguments to UE4Editor.exe, it also passes them along to the new instance:

 UE4Editor.exe "C:/Development/ExampleProject/Example.uproject"-first -second

However, it fails to include a space between the path of the project and the first argument. This will then cause any code using FParse::Param(FCommandLine::Get()) to not find the first argument.

An easy way to reproduce this is using -debug as the first argument. This should start the project in DebugGame rather than Development. My current workaround is to have a garbage first argument that gets ignored, as such:

 UE4Editor.exe -garbage -debug

Expected behavior: when passing arguments to the newly spawned UE4Editor.exe instance, include a space between the project path and the other arguments.

Product Version: UE 4.19
Tags:
more ▼

asked May 10 '18 at 12:04 AM in Bug Reports

avatar image

JNighthawk
1 1 1

avatar image Jeff A ♦♦ STAFF May 14 '18 at 02:05 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

avatar image JNighthawk May 14 '18 at 07:17 PM

Thanks! I feel I've made the issue clear here. I don't feel like duplicating my efforts, so I won't be copying it over there. Helpful to know in the future.

(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