Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 1.49 KB

unity_setup.md

File metadata and controls

11 lines (8 loc) · 1.49 KB

Set up a Unity development environment

On Ubuntu 20.04

  • Download the UnityHub.appimage installer from here, make it executable with sudo chmod +x UnityHub.AppImage, and run it (./UnityHub.appimage). If you don't have a Unity account you'll have to create one to manage the only moderately unpleasant license procedure. Instructions here from the official Unity documentation.
  • From within the Unity Hub, assuming you've gotten it running, create an editor Install. You might as well go for the latest Long-Term Support (LTS) version, which as of now is 2020.3. It gives you a selection of modules; I've installed the Linux, Mac, Windows, WebGL, and Android frameworks so I can build running games for all of the above.
  • Start a new project. Choose the 3D template. Put the project directory somewhere sensible (it defaults to your home directory).

That should do it. Assuming this all worked, you now have an fresh, empty Unity project based on the 3D template. Now head to the next step, wherein you'll build a Unity project containing the mesh from OpenDroneMap.

Gotchas

You might encounter an error trying to build WebGL projects on Linux. Here is a link to a discussion of that. In my case it was solved with sudo apt install libtinfo5.