Suggestion: The command line and Unity Hub

It would be a nice addition to be able to do the following:

  • Start Unity Hub from the command line pass it a unity project and it automatically initialises the correct unity version. possibly passing command line options on to the unity executable. This would make build automation and unity version management a darn sight easier.
  • Tell hub to download/install/remove the latest/specific version through the cmdline, automate the world :slight_smile:

Would love to see these options added

13 Likes

Hi @ikriz1 ,

Thanks for your suggestion.
Looks like having a CLI for the Hub is something which comes back quite a few times now.

We will discuss it and evaluate this feature to see where it could fit in the the current Hub’s roadmap.

6 Likes

Upvote for Hub CLI. It could be a great build tool.

3 Likes

Up! We need this.

3 Likes

This is a fantastic idea, and would make our automated testing process so much easier.

2 Likes

Upvoting too! Would be immensely useful for automated builds!

3 Likes

Yes - we use Ansible right now for managing fleets of Jenkins build agents for Unity games. We do a lot of dorking around with .pkg files to get the right Unity versions on those machines. The hub could make that far simpler.

2 Likes

+1 to this! Would be super useful for a lot of automated build pipelines

3 Likes

+1 This would be amazing!

1 Like

+1 would make my life easier in the long run

1 Like

+1

This would make it so much easier for us during our CI and release builds. +1

1 Like

+1

+1 this is a MUST!

In addition the commands mentioned above, we need the ability to license Unity via the command line. We manage close to 200 seats in an educational environment and are currently able to update our license keys via the command line. Unity Hub does not offer this ability. Worse yet, when Unity is installed via Hub, it no longer allows activation via the command line. This is even further exacerbated by the fact that Hub returns with a licensing server error 9 out of 10 times and just seems to never work on certain machines. See License server returned unknown error. Please contact support@unity3d.com

2 Likes

+1

1 Like

+1

1 Like

+1 as well. Great for CI but might make git bisect workable with editor changes

1 Like

+1 from me too.

1 Like

+1000 from me! :stuck_out_tongue:

1 Like