-
Notifications
You must be signed in to change notification settings - Fork 0
Download and Create a Project in Unity Engine
Thâmara Lins edited this page Nov 29, 2023
·
1 revision
This tutorial will guide you through the process of installing Unity on both Windows and Linux (Ubuntu 22) operating systems. Unity is a powerful game development engine that supports a wide range of platforms and devices and has been heavily used for robotics simulation.
To install any version of Unity and manage your projects, you must first have Unity Hub installed. Within it, you can create new projects, install different versions of the Unity Editor, access learning materials and community links.
- Open a terminal window.
- Run the following commands to install required dependencies:
$ sudo apt update $ sudo apt install libgconf-2-4 libglu1 libxcursor1 libxrandr2 libxinerama1 libxi6
- If you are using Ubuntu 22, you will also need to download and install the "libssl1.1_1.1.1f-1ubuntu2.18_amd64.deb" package.
$ dpkg -i libssl1.1_1.1.1f-1ubuntu2.18_amd64.deb
- Visit the Unity Hub download page on your web browser.
- Click on the "Download for Windows" button in the "Download Unity Hub" section and save the installer to your computer.
- Run the downloaded installer.
- Follow the on-screen instructions to complete the installation of Unity Hub.
- Add the public Unity Hub repository:
$ wget -qO - https://hub.unity3d.com/linux/keys/public | gpg --dearmor | sudo tee /usr/share/keyrings/Unity_Technologies_ApS.gpg > /dev/null $ sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'
- Update the package cache and install the Unity Hub:
$ sudo apt update $ sudo apt-get install unityhub
- If you need to install Unity Hub in other Linux versions, check the Instructions for Linux page.
- Open Unity Hub.
- Click the "Installs" tab on the left sidebar.
- Click the "Install Editor" button to select the version of Unity you want to install. It's recommended that you install a LTS version.
- Choose the desired components and modules you want to install along with Unity. You can just leave everything blank.
- Click the "Install" button and wait until the installation is completed.
- Once the installation is complete, Unity Hub will display the installed version under the "Installs" tab.
- Open Unity Hub.
- Click the "Projects" tab on the left sidebar.
- Click the "New Project" button. If you want to create a realistic robotics simulation, we recommend that you choose the "3D (HDRP)" template. Congratulations! You have successfully installed Unity on Windows or Linux operating system and created your first project. You can now start creating amazing simulations and applications using the Unity game development engine.