Search Unity

Bug Unity Hub Linux commands do not execute the same as Windows/macOS

Discussion in 'Unity Hub' started by RageAgainstThePixel, Jun 8, 2020.

  1. RageAgainstThePixel

    RageAgainstThePixel

    Joined:
    Mar 11, 2020
    Posts:
    66
    Hi, I wrote a very simple script to install the Unity Hub for my CI/CD environment using Powershell, but when I execute the script using Start-Process it works as expected for Windows and Mac, but on Linux it simply does... nothing. There's no feedback or errors, and I'm unsure if it's a problem with my code, Powershell, or even the Unity Hub implementation itself. I even tried removing the Hub installation and calls to a separate shell task, but I'm still getting an empty response from ./UnityHub.AppImage besides the "License Accepted" on the very first call.

    I feel like I've tried everything, and coming up short still.

    Not only that but it also seems like the ExitCode from the Unity Hub process always return 1 for every call, which typically indicates that the process exited with some kind of error, even for successful calls.

    Here's the cross platform powershell hub installer:
    https://github.com/StephenHodgson/UnityCI/blob/master/InstallUnityHub.ps1

    Test Results:
    https://mmoargames.visualstudio.com/devops build test/_build/results?buildId=530&view=results
     
    Last edited: Jun 8, 2020
  2. RageAgainstThePixel

    RageAgainstThePixel

    Joined:
    Mar 11, 2020
    Posts:
    66
    Bump.

    Btw I opened a bug report: Case 1254204