Importing from Reallusion Character Creator™
This guide assumes you have already set up Unity and the Asset Importer project so you can import assets into FirstStage.
Install the Unity Plugin
First of all, we will need to download and install the Unity Plugin from Reallusion.
Then we need to import that into our Unity project (following the instructions here):
- Open up the Unity Asset Importer project.
- In Unity, go to the Assets menu and select Import Package...
- Choose the path where the Reallusion unity plugin was installed - by default:
C:\Program Files\Reallusion\Shared Plugins\Auto Setup\Unity\AutoSetup 1.1 for Unity 2019.3
- Select the 3D package in that folder to import.
- You should now have a folder named "CC_Assets" in your Unity Project.
Export from Character Creator
Follow the instructions here to export a character suitable for import into Unity:
- Create your character in Character Creator.
- Go to the File > Export > FBX (Clothed Character) menu.
- In the export wizard make sure you set the Target Tool Preset to Unity3D.
- Click the Export button to export the character into a custom folder.
Import the Character into Unity
- Inside Unity, open up the CC_Assets folder in the Project view.
- Drag and drop the folder containing the exported character (from the previous step) into the CC_Assets folder.
- Unity will now do some processing which will take a short time to import the models and materials.
- Inside that folder you should now find an FBX object for you character.
- Drag and drop this into the default scene to check that it has imported correctly.
You may also find this guide helpful for solving issues arising from exporting into Unity as well as this forum thread.
Rig the Character for FirstStage
We need to do just a little packaging to prepare the character for use in FirstStage:
- In the root of the scene hierarchy, create an Empty gameobject (right click menu) and name it suitably. This will be the container for the character and its name will be used inside FirstStage.
- Drag and drop the FBX object of the imported character inside this gameobject.
- Select the container object in the hierarchy view and from the Inspector view, Add Component and look for the Puppet Setup component.
- The main property to set in the Puppet Setup component is the height if your character is not 'normal' sized.
- Finally create a prefab for your character by dragging the container object into a folder in your Project Assets.The folder should be suitably named - perhaps simply "Reallusion" to reflect its source.
Export the Character to FirstStage
We can now export the character to FirstStage:
- Select the prefab you just created in the Project view.
- Open the FirstStage Repository view (Moviestorm > FirstStage Repository if not already open).
- Press the Import button and you should then see your new character appear under the Pending folder.
- Select your character in the Pending folder and give it the "Character" tag in the right hand panel.
- Make sure the LOCAL repository is selected and then press the Commit button.
- If you now start FirstStage, you should find your new character in the Asset browser by selecting Project Assets on the left.
- If you are happy with the character, you could then choose a specific project and upload it to the cloud for everyone else working on the project to use.
Common Issues
Single Sided Clothing
Another common problem is clothing where you can often see through the 'inside' of a costume.
This can be fixed by replacing the shader of clothing materials with a double sided shader:
- Select the material(s) you want to fix in the Materials folder.
- In the Inspector panel, change the Shader from Standard to Standard-DoubleSided.
After making the necessary changes, select the Reallusion prefab and import/commit the revised character as per normal to test in FirstStage.
Hair
Character Creator exports its puppets with a transparent shader for hair. This can result in different layers of the hair looking wrong particularly at some viewing angles.
You can improve this by finding changing the render mode for the hair materials:
- Find the hair materials - they are usually in the Materials folder inside the FBX file you imported for the character.
- Select each hair material (typically named "Hair_Transparency_x_Pbr") and, in the Inspector panel, change the Rending Mode from Fade to Cutout.
Unity export
You also need to prioritise the hair over the scalp in the render queue when in Unity.
To do this, go into debug mode in Unity and change the Custom Render Queue of the hair material (which by default is 3000 for both hair and scalp), and make the main body of the hair a higher number, such as 3001.
