[Unity Hub] For those who do not see “Add module”

wp_tmb_unity-add-module

Worries

“Installation of Unity Setup iOS Support for Editor failed”
There is no “add module”. . .

What do you do when you really want to add something? . .

These were my worries.

In order to match the version of the project, the version is often not listed in the >”Add Unity version” list when installing Unity Hub. (Only displayed for specific versions)

However, I found two ways to solve this problem, and I will tell you how to deal with it!

Problem: “Add module” is not displayed

  • “Add module” is not displayed.

In addition to

  • The version I want to install cannot be found.
  • Unity installation failed.

These problems can also be resolved. The problem is disjointed, but I was able to deal with it this way.

f:id:koshishirai:20200505163455p:plainf:id:koshishirai:20200505163527p:plain
“Add module” is not displayedI can’t find the version I want to install
f:id:koshishirai:20200505163553p:plain
The installation failed. (Unity installation failed.)

Error Message

The installation Failed.
The installer encountered an error that caused the installtion to fail.
Contact the software manufacturer for assistance.

Japanese Translation

Installation failed.
The installer encountered an error and the installation failed.
Please contact the software manufacturer.

We have successfully resolved this issue by operating in the following environment.

Usage Environment

Method 1: Easy installation

  • macOS Mojave
  • Unity Hub 2.1.3

Method 2: Manual installation

  • macOS Catalina
  • Unity Hub 2.1.2

How to add modules

There are two ways to add a module even if “Add module” is not displayed.

  1. Easy installation (recommended)
  2. Manual Installation

The former is a lively method that I discovered later.

Method 1: Easy installation

f:id:koshishirai:20200501214058p:plain:w1200
  1. First, go to the Unity Achive page.

Unity – Download Archive

  1. Find the version you want to add to Unity Hub in Unity Achive.

Then select “Unity Hub” among the download options.

20200505163706
  1. You will be asked “Do you want to open Unity Hub.app?”, so select “Open Unity Hub.app”.
f:id:koshishirai:20200513142533p:plainf:id:koshishirai:20200513142353p:plain
For MacFor Windows
  1. Unity Hub will start. As usual, select the required modules and click “INSTALL”.
f:id:koshishirai:20200505163826p:plain
  1. Once installed, the module will be displayed with an icon.
f:id:koshishirai:20200505163902p:plain

This will make it easier to install as many versions as you like!

By the way…where is it installed (save location)?

f:id:koshishirai:20200505163923p:plain

It will be installed to the path specified in the installation destination of the Unity editor folder.

f:id:koshishirai:20200505163938p:plain

Method 1: Easy installation Impressions

As described below, I took the trouble to install the editor or install from Unity Achive to add the Unity version, and it took a lot of time, but this method seems to make version control even easier.

Now you don’t have to spend time installing Unity!

Method 2: Manual installation

Here are the steps to install it manually.

  1. Prerequisites
f:id:koshishirai:20200505174809p:plain
f:id:koshishirai:20200505174856p:plain
f:id:koshishirai:20200505174943p:plain
  • When installing Unity Editor 2019.2.9f1, Android, iOS, Mac, and Windows modules are selected.
  • When installing Unity Editor 2019.1.0f2, nothing was selected. (only Japanese)

Let’s say you leave the default Unity editor folder path.

/Applications/UnityEditor/Hub/Editor

Here’s a step-by-step guide to manual installation.

  1. Create a folder to save Unity Editor. This time I chose “UnityEditor”.
f:id:koshishirai:20200505175101p:plain
  1. Move the Unity Editor.
f:id:koshishirai:20200505175118p:plain
  1. Restart UnityHub and change the Unity editor folder path.
f:id:koshishirai:20200505175139p:plain
0200505175158
  1. After restarting Unity Hub, you will see a screen like this:

“Unity version missing”

In that state, select Unity Editor from “Add to list”.

f:id:koshishirai:20200505181541p:plain
  1. First, to confirm, select “Unity.app” from Unity 2019.2.9f1 where the module was installed.
f:id:koshishirai:20200505181606p:plain

If a module is included, a Documentation folder is included.

f:id:koshishirai:20200505181648p:plain

Although the module is not displayed, it is recognized in Unity Editor 2019.2.9f1’s File > Build Settings (File > Build Settings).

f:id:koshishirai:20200505182116p:plain
  1. On the other hand, select Unity 2019.1.0f2, which has no modules and only Unity Editor.
f:id:koshishirai:20200505192014p:plain

Naturally, the module is not installed.

Now, “Remove” Unity 2019.1.0f2 from Hub.

(Unity 2019.1.0f2 Editor itself is not deleted, just the link with Unity Hub is broken)

f:id:koshishirai:20200505192039p:plain

If the project was created with Unity version 2019.1.0f2, a warning will appear below saying “Not installed”.

f:id:koshishirai:20200505192106p:plain

Click Install, select the required modules, and reinstall them.

For example, this time select the module as shown in the image.

f:id:koshishirai:20200505192126p:plain

Once the installation is complete, an icon will appear indicating that the module has been added!

f:id:koshishirai:20200505192209p:plain

<<Caution>>: The path of the Unity editor folder will be different, so be careful!

After that, just move it again (replace (overwrite) it since it is already in the same location) and “Add to list”.

f:id:koshishirai:20200505195039p:plain

Now you can use the module, but the 2019 1.0f2 module icon will no longer be displayed in Unity Hub. .

Also be careful!

Finally, you can now use the selected module with Unity 2019 1.0f2.

f:id:koshishirai:20200505193241p:plainf:id:koshishirai:20200505193642p:plain
Module can be usedThe module icon will no longer be displayed…

If Unity 2019.2.9f1 already has a module in it, but “Add module” is not displayed, it’s a shame, but try reinstalling it using the same method!

Method 2: Manual installation Impressions

I solved the problem by changing the path of the Unity editor folder and re-recognizing (installing) it from Unity Hub. It will also be useful for version control such as Unity4 and Unity5!

For example, if you install the Unity5 Editor from pkg, the installation destination will be /Applications/Unity/, which will overwrite the existing Unity folder and erase the previous Unity version.

I think it’s easier to manage Unity versions by storing each Unity Editor in /Applications/UnityEditor/!

However, please be aware that if you change the Unity editor folder path, the module icon will no longer be displayed.

Reference

[1] I cried in vain because I couldn’t install iOS Build Support in Unity – mosotanien’s blog

[2] Unity: Solution when UnitySetup-iOS-Support-for-Editor installation fails – Kilimanjaro Warehouse

koshishirai / 3D Modeler

Leave a Comment