Hair to Avatar - How to use Blender, Unity



[This article was translated and written using Google Translate. please understand. ]

This method uses Blender and Unity

VRChat recommends using Unity version 2019.4.31f1 and VCC

Please refer to the VRChat documentation for details.

VRChat Doc : https://creators.vrchat.com/avatars/

VR Chat Creator Companion (VCC) : https://vcc.docs.vrchat.com/

BLENDER : https://www.blender.org/download/

Unity 2019.4.31 : https://unity.com/releases/editor/whats-new/2019.4.31



Settings in Blender

The process in Blender can be omitted depending on individual differences, or it doesn't matter if you use other tools.


1. Load the avatar and clothes you want to dress up into Blender.

  1_1. Turn on the two options displayed when importing FBX.

  1_2. Adjust the size and shape of the costume to your avatar.

    1_2_1. Depending on individual differences, this step may be omitted.


2. Modify the name of the clothes bone to be the same as the matching avatar's bone.

  2_1. Copy the avatar's bone name and paste it to the matching garment bone.

  2_2. This can also be done in Unity.


3. Select the armature of the costume and necessary items and export to FBX.

  3_1. Settings for export are set as shown in the image.


Settings in Unity


1. Import the exported FBX into Unity. Set the Inspector settings of the FBX by referring to the image.


2. After uploading the clothing FBX to Hierachy, change the name of the clothing bone to match each bone that matches the avatar.

  2_1. Move the objects in the costume prefab onto the original avatar.

  2_2. Move the bones in the costume prefab to matching places on the original avatar.

    2_1_1. Hips bones into Hips bones and Chest bones into Chest bones.

    2_1_2. Bones that don't match, such as _End, will be moved into the hierarchy.

    2_1_3. If you have already modified the name in Blender, you can skip it.

  2_3. When playing, move the joints to see if they are applied.


3. If there are no errors in VR SDK Builder, upload it to Builder&Publish for Window.


Test results using the guide above

It has been confirmed that it is applied within VRChat.

If there are any other errors or bugs, please contact us.

We will do our best to help resolve the error as much as possible for the costume.

thank you!

3D Creator LYN