I am trying to install the iOS module to my current Unity installation and can’t find an option to do this anywhere. The “add module” button on the ellipse menu in the installs section has disappeared in some update or another, and the project won’t open without the module, so I can’t install the module manually from build settings. Navigating to the download archive to bring up the module screen by re-downloading the Unity version didn’t work either, just says the version is already installed. I can’t uninstall Unity from the hub for a fresh install either. I tried manually uninstalling Unity, but the hub isn’t recognizing that it’s been uninstalled so now it refuses to open the project, won’t give me the option to install the required version of Unity, and trying to install from the download archive tells me the version is already installed. Right-click and remove from hub in the installs section doesn’t work either. At this point I’ve already wasted half my day just trying to open Unity.
This seems like a major regression and is a usability nightmare. Why force people into using this when its main features don’t even work/get replaced with things no one wants or needs?
1 Like
since I upgraded to Hub 3.7, nothing launches anymore. On another PC I have Hub 3.6.1 and it works
Unity Hub 3.7.0. I need to install Java SDK. How can I do it?! Where “Add modules” button?
Right click by Installed Unity item - there is no “Add modules” item in the context menu that appears.
CAUSE: Unity Editor has been install manually, not from Unity Hub! The installation file was downloaded from the site and Unity was installed using it. Therefore, there was no menu item “Add modules”.
3 Likes
That happened to me too because I manually installed a Unity Editor, and here is what worked for me;
- Back up your project.
- Uninstall the manually installed Unity editor,
- Open Unity Hub and you will see a message next to your project indicating that you need to install the required Unity version to open the project.
- Install the necessary Unity version and modules using Unity Hub.
- Once the installation is complete, you should be able to open your project and verify that all the modules are installed and working correctly.
the HUB sometimes got error, I do not see the install tab at all, but after I manually installed the archived vision, the install tab shows up, there is a BUG
even tho i got the module. it dosent work properly in the editor
Thank you! But I think I have found an easier method. Open Unity Hub → Preferences → Installs → Change the Install Location and Download Location to the location where you have stored your manually downloaded Editors (In my case I have made a folder in my E directory named Unity Versions and stored the manually downloaded editors in there). → Close the Unity Hub → Open it again and check if the changed location is saved and correct. → now click on the Installs (under the projects on the main window where you can what editor do you have, not the location one) → click on the setting like button next to the editor you want to install the android module on → you now be able to see the add module function click on it → tick and install any module you want to. Thanks. Like this you don’t need to download the editor you already have.
1 Like
Nice one Jai, this worked for me 
Hello!
The Unity Hub uses a file with some meta data in it that tracks which modules you have installed. If the file is not present, the Add Modules option isn’t present in the Hub for that Editor.
We recommend always installing the Editor via the Hub, so that this is generated and the state of your editor and modules can be maintained.
If you go to an Editor installed with the Hub, right click the editor item, or click the cog for that editor, then go to Reveal in <Finder|Explorer>, you’ll see a file called modules.json. That’s the one we use.
The status of module installation is held there. If you non-Hub install an editor that you are sure does not have any modules installed along with it, it may be possible to add this file yourself.
I want to impress however that doing so is at your own risk. This is only a means to get unstuck if you are in the specific scenario where you have a non-Hub installed editor that you know has no modules installed with it already. If you are already here looking for a work around.
If you have any trouble getting the following to work, please simply delete that modules.json file to restore the status of the installation.
Steps for creating the modules.json file – again, at your own risk:
- Open the folder with the Unity editor you want to perform this on. You can get to this from within the Hub: right click or click the cog, then go to Reveal in <Finder|Explorer>.
- In the folder that is now open, you should see a small list of files, including Unity and Unity Bug Reporter (what you see will depend on your OS.)
- Create a new file called
modules.json. Be very specific about the name and capitalization. Also note that some OSes hide extensions by default, so even though you put .json at the end, it might not actually be a .json file. It may be .json.txt with the .txt hidden. Make sure that this file is a json file, and not a text file or something else.
- Open the
modules.json file. Use any text editor (notepad, textedit, vscode, notepad++, or any you like.)
- Inside the
modules.json file, put this exact thing: [{}]. This is a json format for an empty object in an array of objects. It’s okay if you have a return/newline after this, so long as exactly that is inside the modules.json file.
- Save and close that file.
- Fully quit and restart the Hub. Make sure that the Hub is not running in the system tray still.
Now when you re-load the Hub, the editor we did this for should have the “Add Modules” button.
Again, please keep in mind that this makes it so that the Hub assumes the editor we did this to has no modules at all. If you have modules installed and try to do this, the Hub may have trouble installing things or uninstalling things. Please do this only at your own risk.
Hopefully this helps the select few who need a work around here. Remember, the easiest way to manage this is to install the Unity Editor through the Hub itself. You can go to the Unity Download Archive if you need a specific version of the editor, or install a specific version for your project directly.
All the best, Creators!
2 Likes
For me, this resulted in an empty module menu saying that my version is “no longer available from the Hub”:
(I have to use specifically Unity 2022.3.22f1 to author content for an external application.)
What seems to have worked for me is borrowing this file, meant for a close-enough version:
unity-version-manager/commands/uvm-generate-modules-json/tests/fixures/win/v2022/2022.2.6f1_modules.json at master · Larusso/unity-version-manager · GitHub
1 Like
Why can’t I download modules via Unity Hub? Unity should allow module installation through the “Add Modules” option.
I’ve tried multiple times to install the Unity Editor through Unity Hub, but the download keeps freezing at 20%, 60%, and 11%. I found a similar issue reported here:
Random download freezes
Because of this, I had to manually download the Editor from Unity’s website. However, now I can’t build my game for Android since I can’t install the required Android packages via Unity Hub(i installed android build support manually).
Unity should ensure that modules (like Android Build Support. Sdk. ndk.gradel) can be reliably installed through the “Add Modules” option in Unity Hub
1 Like