lgsvl / simulator

A ROS/ROS2 Multi-robot Simulator for Autonomous Vehicles
Other
2.27k stars 779 forks source link

cannot install unityhub on Ubuntu 16.04 #1715

Open umdreamer opened 3 years ago

umdreamer commented 3 years ago

I downloaded UnityHub from official unity website. But there are only Mac and Windows versions, no Ubuntu version. I chose the Mac version, and the UnityHub is UnityHub.dmg file.

After give +x permission, or run as a program in GUI, the file cannot run. According to the documentation, https://www.svlsimulator.com/docs/running-simulations/developer-mode/#setup. The UnityHub should be named UnityHub.AppImage, but I cannot find it.

I also find: https://forum.unity.com/threads/unity-on-linux-release-notes-and-known-issues.350256/page-2, there are no version for latest 2020.3.3f1.

Could anyone help?

heeen commented 3 years ago

Try this link https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage

I got it from the download page here https://unity3d.com/get-unity/download

lemketron commented 3 years ago

Also note that Ubuntu 16.04 is (Edit: Not EOL yet, but) pretty old at this point so you should consider updating to 18.04 or 20.04.

shr-project commented 3 years ago

For installing older version you need to use --changeset parameter, e.g. unity-hub install --version 2020.3.3f1 --changeset 76626098c1c4.

Changeset value you can find in Unity version announcement (e.g. https://unity3d.com/unity/whats-new/2020.3.3 has "Unity Hub" link unityhub://2020.3.3f1/76626098c1c4).

There are some more issues with UnityHub on Linux, most work arounds for them I've found in https://github.com/game-ci/docker and it works for me with UnityHub-2, haven't tried 3.0.0-beta.1 or 3.0.0-beta.2 yet, but Linux support wasn't fully implemented in beta.1 yet.

heeen commented 3 years ago

Can't you just add the project and install the matching version from the drop down

lemketron commented 3 years ago

For installing older version you need to use --changeset parameter, e.g. unity-hub install --version 2020.3.3f1 --changeset 76626098c1c4.

Changeset value you can find in Unity version announcement (e.g. https://unity3d.com/unity/whats-new/2020.3.3 has "Unity Hub" link unityhub://2020.3.3f1/76626098c1c4).

If you have downloaded the Unity Hub application and it is available in the current directory, you can launch it and install the specified unity version by typing (for example) ./UnityHub.AppImage unityhub://2020.3.3f1/76626098c1c4 as documented here.