Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

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

Discussion in 'Unity Hub' started by StephenHodgson-XRTK, Jun 8, 2020.

  1. StephenHodgson-XRTK

    StephenHodgson-XRTK

    Joined:
    Mar 11, 2020
    Posts:
    13
    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. StephenHodgson-XRTK

    StephenHodgson-XRTK

    Joined:
    Mar 11, 2020
    Posts:
    13
    Bump.

    Btw I opened a bug report: Case 1254204
     
unityunity