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"

Unknown error while deploying to a linux machine

What I did:

  • Created a new Linux machine in Device Manager like this:

  • Clicked Launch -> 192.168.1.50


Expected behavior:

  • Unreal build an application for a Linux machine

  • Unreal established ssh connection to the Linux machine

  • Unreal deploys the application to a Linux machine

  • Unreal runs the application on a Linux machine


What happened:

  • Unreal has built an application for a Linux machine

  • Unreal tried to establish an ssh connection to the Linux machine but failed

  • Unreal automation tool has thrown an unknown error (code: 255)


Why I think this happened:

  • Unreal constructed a cmd command cmd.exe /c "echo y | C:\Program Files\Epic Games\UE_4.22\Engine\Extras\ThirdPartyNotUE\putty\PLINK.EXE -ssh -t -l linux_username -pw password 192.168.1.50 echo All Ok", which had failed due to spaces in the path PLINK.EXE

  • CMD thought that C:\Program is already a path to an executable and everything else are just arguments


What can be done theoretically:

  • Unreal automation tool should construct a different command:
    C:\WINDOWS\system32\cmd.exe /c 'echo y | "C:\Program Files\Epic Games\UE_4.22\Engine\Extras\ThirdPartyNotUE\putty\PLINK.EXE" -ssh -t -l linux_username -pw password 192.168.1.50 echo All Ok'

  • Somewhere should be a config file, where the path to a PLINK.EXE program can be specified


Info:

  • The editor is running on 64-bit Windows 10

  • Unreal version: 4.22

  • Deploying to a Linux machine on a local network

  • Linux machine runs 64-bit Antergos

  • Linux kernel: 5.1.4-arch1-1-ARCH

  • SSH manually connects trough PowerShell


Logs:

Product Version: UE 4.22
Tags:
more ▼

asked May 28 '19 at 11:06 AM in Packaging & Deployment

avatar image

Gibitop
1 1 1

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

1 answer: sort voted first

For the time being, I've written a python workaround script that automates this functionality. This is NOT a proper solution. You can find the script here: https://github.com/Gibitop/rup

more ▼

answered May 30 '19 at 08:49 AM

avatar image

Gibitop
1 1 1

(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