

You'll also need DotNET Core for debugging and using OmniSharp without errors. wget -O - "" | sudo gpg -dearmor -o /etc/apt//mono-official-stable.gpgĮcho "deb stable-focal main" | sudo tee /etc/apt//mono-official-stable.list Uninstall the built in Mono first, if you have it installed. The repo says it's for Ubuntu 20.04, but it works with 22.04 just fine. Installing auto-completion/IntelliSense for C# (OmniSharp) PrerequisitesĪ complete and up-to-date Mono with msbuild is required instead of the default one available in Ubuntu, otherwise C# code completion won't work. Snap version may work, but you'll likely have issues with Unity integration. Install VS Code from the official website using the provided. If all else fails or you're not on Ubuntu, it may be worth a shot. ℹ️ Note: Unity Hub is also available as an unofficial Flatpak. Launch Unity Hub, log in, install the desired Unity version and verify that it's working. Install Unity Hub - this is a shorter version of what the official guide does: wget -O - | sudo gpg -dearmor -o /etc/apt//unityhub.gpgĮcho "deb stable main" | sudo tee /etc/apt//unityhub.list We need to manually install the package from 20.04: wget Unity Hub won't run on Ubuntu newer than 20.04 because it depends on an outdated libssl.


This guide details how to install UnityHub, Unity, VS Code and how to get full C# support with IntelliSense and debugging. How to install Unit圓D on Ubuntu based Linux distros (Kubuntu, Xubuntu, POP_OS, Mint, Neon, Zorin, etc.).
