How to Upload Assets from Unity to STYLY

In this article, we will show you how to use prefabs created in Unity on STYLY.

STYLY allows you to prefabricate and upload assets created using 3DModel, Particle system (Shuriken), Light, UI elements, Shader (using Amplified Shader, etc.), PlayMaker, etc.

In STYLY, you can use assets with animation and interactivity in Unity, as well as Light assets with colors. Please give it a try if you want to pursue a new and unique way of expression.

 

Requirements

STYLY supports “Unity 2019.3.6f1”. Also, please make sure that the following components are installed:

Unity Download Assistant

  • Windows Build Support (If you’re using a Windows PC, it’s installed by default)
  • Mac Build Support (If you’re using a Mac, it’s installed by default)
  • Android Build Support
  • WebGL Build Support
  • iOS Build Support

 

Types of assets that can be uploaded

The STYLY plugin for Unity allows you to include the following types of assets in STYLY

STYLY Studio screen

  • 3DModel (with animation in Mecanim is also possible)
  • Particle system(Shuriken)
  • Light
  • UI要素
  • Shader (using Amplified Shader, etc.)
  • Assets with PlayMaker

For these different types of assets, the upload process is the same.
Just prefabricate the assets you want to use and upload them to STYLY.

Note:
Try clearing the cache in your browser if your PlayMaker actions do not work well on STYLY.
Also, STYLY does not support scripts written in C#.

 

Preparing to upload to STYLY

To prepare for the uploading process from Unity to STYLY, import the STYLY plugin for Unity into Unity.

 

Downloading and importing the STYLY plugin for Unity

You can use the STYLY plugin for Unity to upload prefabs made in Unity to STYLY.

Here’s how to download the STYLY plugin for Unity. First of all, please access the download page from the following link or from the

STYLY Top Page

STYLY Top page

Click the [STYLY plugin for Unity DOWNLOAD] button at the bottom of the page to download.

 

Once the download is complete, import the STYLY plugin for Unity into your Unity project.

Open your Unity project. Go to the [Assets] menu > [Import Package] menu and click the [Custom Package…] menu.

Custom Package

Custome Package

 

Select the “STYLYPlugin” you downloaded earlier and click the [Open] button.

 

With all the checkboxes checked, click the [Import] button.

 

After importing, if [STYLY] is added to the menu and the [STYLY_Plugin] folder is created in Project, you are done.

UNITY PLUGIN FOR STYLY (BETA) Import Step 4

 

How to connect your STYLY account to STYLY_Plugin

This section explains how to obtain an API key for your own STYLY account.

 

Connect your STYLY account to STYLY_Plugin Step 1

 

Log in to STYLY Studio. Next, select the API Key menu. The API Key is displayed, copy it.

 

Connect your STYLY account to STYLY_Plugin Step 2

Connect your STYLY account to STYLY_Plugin Step 2

 

Go to your Unity project’s STYLY menu and click the Asset Uploader Settings.

 

Connect your STYLY account to STYLY_Plugin Step 3

Connect your STYLY account to STYLY_Plugin Step 3

 

In the Email form, enter the email address of your account. Paste the key that you copied earlier into the API Key. This completes the connection between your STYLY account and STYLY_Plugin.

 

Cache Server Settings

Before you upload your data to STYLY, you should first set up a local cache server to improve your upload time.

For Mac users: go to the ‘Unity’ tab in the top menu bar and click ‘Preferences’.

For Windows users: go to the ‘Edit’ tab on the top menu bar and click on ‘Preferences’.

In both cases, the screen in the following figure should appear.

 

Select Local from the drop-down menu on the Cache Server screen. The cache configuration is now complete.

 

Uploading from Unity to STYLY

Once your plugin is ready, you can upload it to STYLY using the following steps.

 

How to check the size of the file to be uploaded

Here’s how to check the file size of a prefab. Since uploading can take a few minutes or longer, especially if the size is large, please check the size of your prefabricated files before uploading them to STYLY.

Upload file size confirmation screen

Upload file size confirmation screen

To check the file size, right-click on the prefab you want to check and click on the “STYLY” > “Check File Size” button. It is recommended to upload prefabricated files under 20MB.

 

How to upload a prefab from Unity to STYLY

After confirming the file size, let’s upload the prefab created in Unity to STYLY.

 

Prefab upload screen

Prefab upload screen

Here’s how to upload it. Right-click on the prefab you want to upload. Click STYLY > Build And Upload Prefab Asset. The upload process will be performed.

 

How to upload prefab from Unity to STYLY Step 2

How to upload prefab from Unity to STYLY Step 2

If the upload process is successful, you will see a pop-up message [Upload succeeded.] displayed. After that, click the [OK] button. If you see an upload error, please contact the following for more information about the error (operating procedures and screen capture). Contact for error inquiries

 

  • Japanese:https://www.facebook.com/groups/stylyusers/
  • English:https://www.facebook.com/groups/STYLY.VR/
  • Email:info@styly.cc

Multiple prefab uploads (addendum 11/03/2018)

STYLY now supports multiple prefabricated uploads. Download the latest version of STYLY.unitypackage and import it using the same steps as above. Select multiple prefabs in the Project scene that you want to upload, and then right-click on them. Selecting “STYLY” -> “Upload or scene to STYLY” is the same as in the previous chapter.

 

Prefabricated multiple choice

Prefabricated multiple choice

It is now possible to upload multiple prefabs at once.

How to upload the whole scene from Unity to STYLY

You can also upload a whole Unity scene.
Please see this article for more information on the scene upload feature.

 

How to use the Unity scene upload feature
Using Uploaded Prefabs in STYLY

Here’s how to check your uploaded prefab.

 

Using Uploaded Prefabs in STYLY

Using Uploaded Prefabs in STYLY

Open the STYLY Studio. Next, click the [Assets] button and then click the [3D Model] button. Finally, click the “My Models” menu, and if you have a prefab uploaded to My Models, you’re done.