How to add Unity Installation component afterwards

When you upload the Prefabs or Scenes created in Unity to STYLY, the followings components must be installed in advance. 

 

  • Windows Build Support (If you use Windows, it’s installed by default).
  • Mac Build Support (If you use macOS, it’s installed by default).
  • Android Build Support
  • WebGL Build Support
  • iOS Build Support

 

There are two main ways to add those components after installing the Unity Editor. One is to use ‘Unity Hub’, the other is to re-install Unity itself.

In this article, I explain how to add the components step by step.

 

①Add by using ‘Unity Hub’

The first way uses ‘Unity Hub’ to add the components.

Unity Hub is an application to manage multiple versions of Unity Editor and their projects altogether. Once you installed it, you can easily add and remove components.

 

The versions of Unity and Unity Hub

When uploading a Prefab or a Scene to STYLY, the recommended version of Unity is ‘Unity 2017.4.15f1 (64-bit)‘. Having said that, Unity 2017.4.x are generally compatible. For the following tutorial, I use Unity 2017.4.15f1 as an example.

Unity Hub version 2.0 was released on 13th May 2019. As it cannot be downgraded (As of 28th June 2019), I use version 2.0 in this article. If you are on an older version and it doesn’t follow the instruction here, try using the Unity installer (the method ②) to add the components.

 

Install Unity Hub

Access the download page shown below to download the installer of Unity Hub.

https://unity3d.com/jp/get-unity/download

 

Download Unity Hub

 

License Agreement

 

Directory for the installation

 

After the installation, open Unity Hub, then it brings up the following window.

 

Open Unity Hub

 

Set the file path to Unity2017.4.15f1

Add the installed Unity2017.4.15f1 to the list.

This time I explain how to add the components to the installed Unity, but please read the following article if you have not installed Unity yet.

 

 

Firstly, launch Unity Hub, press ‘Locate’ (the highlighted in the red box below) with the ‘installs’ tab on the left selected.

 

Add the installed Unity to the list (1/2)

 

Select the installed Unity (‘[Specified directory]\Unity<version>\Editor\Unity.exe) to add it to the list.

 

Add the installed Unity to the list (2/2)

 

You have added Unity2017.4.15f1 to Unity Hub now.

 

Add components (modules)

You can add components in the same screen as above (i.e. the ‘installs’ tab on the left selected).

Firstly, press the menu icon at the top right of the version you want to add components to.

 

Install components (1/2)

 

Select ‘Add Modules’.

 

install components 2/2

 

Select the components (modules) you want to add.

 

Select components

 

When you want to use Prefabs and Scenes created in Unity, the following components must be installed.

  • Windows Build Support (If you use Windows, it’s installed by default)
  • Mac Build Support (If you use macOS, it’s installed by default)
  • Android Build Support
  • WebGL Build Support
  • iOS Build Support

 

In this tutorial, I check ‘Mac Build Support’ because I am running  Windows. If you are running macOS, ‘Mac Build Support’ won’t appear. So, select ‘Windows Build Support’ instead.

See the following article to learn more about the system requirement to upload Prefabs and Scenes to STYLY.

 

 

After selecting the components, press ‘DONE’ to add them.

Once you added them, the added components are shown with the icons in the Unity version you added them to (See below).

 

Added components

 

②Add by using the installer

Here I explain how to reinstall the required components by reinstalling the Unity Editor.

It’s so simple that it wouldn’t cause any problems. So, please try it when the other way didn’t work well.

(This method simply installs the Unity Editor, so it wouldn’t remove the projects you have created before basically).

 

The version of Unity

When uploading a Prefab or a Scene to STYLY, the recommended version of Unity is ‘Unity 2017.4.15f1 (64-bit)‘. However, Unity 2017.4.x are generally compatible. I use Unity 2017.4.15f1 here as an example.

 

Download and launch the installer

Access the download site form here:

https://unity3d.com/jp/unity/qa/lts-releases

Unity 2017.4.15f1 can be found in the release on 12th November 2018. In the download page, filter versions by ‘2017.4’, and you will find it fifth from the top of the second page.

Launch the downloaded installer (UnityDownloadAssistant-2017.4.15f1.exe) to start installing Unity.

The following article also explains how to install Unity. If you want to learn more about it, please refer to it.

 

 

Select components

Then you will be prompted to select components, so select the components you want to install.

 

Choose Unity Components

 

When using Prefabs and Scenes created with Unity on STYLY, the following components must be installed:

 

  • Windows Build Support (If you use Windows, it’s installed by default).
  • Mac Build Support (If you use macOS, it’s installed by default).
  • Android Build Support
  • WebGL Build Support
  • iOS Build Support

 

This time I check ‘Mac Build Support’ as I am running Windows. If you are running macOS, ‘Mac Build Support’ won’t appear. So, select ‘Windows Build Support’ instead.

See the following article to learn more about the required system environment to upload a Prefab or a Scene to STYLY.

 

 

Choose install location

Next, choose the install location. If Unity has already been installed, you can overwrite it by choosing the same folder.

If you chose the default location in the previous installation, you don’t need to change it this time.

 

Choose the install location

 

Now you just need to follow the instructions by the installer to complete the installation.

Once finished, you will be able to edit the existing projects with the specified components added.

 

 

It completes the tutorial on how to add Unity Installation components afterwards.