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"

Interacting with UE4 Editor by commandline - best practice

Hi there!

We would like to integrate UE4 more into our pipeline. We're particularly interested in automating UE4 related processes via commandline and python scripts. I've had a look at the existing documentation:

I've got a few questions there:

  • What's the difference between UE4Editor.exe and UE4Editor-Cmd.exe? They both seem to behave the same, and both bring up the GUI. Any preference on which one to use when using UE4 'headless' via the command line?

  • How to get logging output from UE4 when using it via the commandline? By default it seems to by totally silent and doesn't output to stdout or stderr. In order to interact with it properly vie the commandline, we'd need to be able to capture output logging.

Ideally we'd be calling it from within other (non-UE4) Python processes like this:

 result = subprocess.call('UE4Editor-Cmd.exe -run=pythonscript -script="c:\my_script.py"', stdout=subprocess.PIPE, stderr=subprocess.PIPE )

Any advice on best practice there? Any help much appreciated!

Product Version: UE 4.20
more ▼

asked Nov 18 '18 at 04:59 AM in Using UE4

avatar image

16 1 2 5

(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