The Layered Clothing Validation Tool is a supplemental tool you can install in either Blender or Maya to help quickly identify and fix common issues with layered clothing assets before you export them.
While this tool can save you time in the typical iteration process between your 3D modeling program and Studio, the tool doesn't provide comprehensive verification of all aspects of layered clothing assets. You must ensure your layered clothing model meets both the general mesh requirements and Roblox-specific layered clothing requirements prior to importing it into Studio.
There are two separate installation files and instructions for Blender and Maya.
To install the Clothing Validation Tool in Blender:
Download ValidationTool_Blender.zip and save the .zip file locally.
In Blender, navigate to Edit > Preferences.
In Preferences, go to the Add-Ons section on the left side-bar.
Click the Install... button. A file browser displays.
Select the downloaded .zip file and click Install Add-On.
In the Add-Ons section, find the Validation Tool and enable the add-on.
Return to your workspace and expand the side toolbar in the Viewport to access the add-on.
Before you begin the process of installing the Validation Tool in Maya, you must install Python 3.0 or higher. If you already have Python installed, you can proceed to installing the Validation Tool.
To install Python 3.0+ on your device:
Download the appropriate installer from the official Python website.
Open the installer and follow the installation instructions.
Enable Add Python ### to PATH before selecting Install Now.
To install the Clothing Validation Tool in Maya:
Download ValidationTool_Maya.zip and unzip the content in a local directory.
Open the contents of the .zip file in a file browser.
If on Windows, double-click install.bat. This runs a batch script that enables you to quickly run the Validation Tool in Maya.
If on Mac, right-click the install.command file and select Open With > Terminal. This runs a terminal script that enables you to quickly run the Validation Tool in Maya.
When prompted, type your Maya version and press Enter. For example, if using Maya 2020, input 2020 as your version.
When installation is successful, the following message displays:
Open Maya and navigate to Windows > General Editors > Script Editor.
When using the plugin for the first time, in the Script Editor, type import ValidationTool then press the Play button in the top bar of the Script Editor. The plugin UI displays.
When using the plugin after the initial launch, launch the plugin by typing ValidationTool.validationTool() and clicking the Play button.
Alternatively, you can set up a shortcut from the plugin UI after initial launch by clicking the Create shortcut button on Maya shelf button.
With the plugin active and a layered asset in your workspace, you can begin validating content. After the check, results with issues change to red (Blender) or yellow (Maya). You can resolve some failed checks by clicking the check button. See Checks and Troubleshooting Steps for details on each validation check.
To use the Validation Tool on your asset:
- Select the object in your scene.
- Open the Validation Tool and click Check Assets. After a few moments, the UI updates and produces an output message.
- Results with issues are highlighted with red or yellow. Some issues can be automatically corrected by clicking the highlighted button.
Refer to the table below for details on the specific checks and troubleshooting steps:
- Checks for extra layers in the scene. Automatic fix attempts to remove extra layers. If the automatic fix fails, manually remove extra layers.
- Checks that geometry location, rotation, and scale are frozen (0,0,0). Automatic fix attempts to freeze the transforms. This may cause changes to your rig. If the automatic fix fails, manually freeze your geometry.
- Unused Material
- Checks for any unused data in the scene, such as orphan data (Blender) or construction history (Maya), or unused materials. Automatic fix attempts to remove extra data. If automatic fix fails, manually remove unnecessary data and objects.
- Checks for any unnecessary keyframes. Automatic fix attempts to remove keyframes. If automatic fix fails, manually remove keyframe data.
- Attachment Points
- Checks that attachment points are present and use the correct naming convention. Automatic fix attempts to parent any unexpected attachment points.
- Checks for any intersection between character geometry and the inner/outer cage mesh geometry. In Blender, clicking the button switches to Edit Mode and highlights vertices that are intersecting the inner or outer mesh. Some edges, such as edges of the holes for the sleeves, neck and torso edges, may be highlighted by default behavior and can be ignored.
- Texture Format
- Checks that textures match texture requirements, such as resolution size. Users can also select an external image file. Refer to the output messages to manually resolve any texture related issues.