Create ticket
Login  Sign up

Getting Started: Streaming to Unity

Forward real-time data to your Character in Unity!


Rokoko Studio plus or above subscription

Rokoko Live plugin for Unity

Getting Started

Open Rokoko Studio Live

Go to settings and click on Studio Live in the dropdown menu.

Turn on streaming to Unity by enabling the plugin and enabling the default IP and port. 

Setting up the character

Drag your desired character into Unity, and change the Rig Type to Humanoid in the Inspector panel and click "apply" at the bottom.

Drag your character into the scene view and place it in XYZ, 0,0,0.

In the Inspector panel add the "Actor" component to your character. In the "Profile Name" parameter add the name of the Actor Profile in Rokoko Studio that you want to receive the data from. In our case it is "Demo"

Click on the "Self" button next to the Animator Parameter. 

Face Capture

To get face capture working on your character (given that it follows the ARkit blendshape structure) add the "Face" component to the character. Set the "Mesh Renderer" to the skinned mesh of your character

Then in the "Face" parameter of the "Actor" script click on the "Self" button. You should now see it be populated with the right settings. 

This is the final configuration of our character in the inspector panel

Streaming the data

Go to your Hierarchy panel and create an empty gameobject and call it "Studio Manager". Add the "Studio Manager" component to the newly created gameobject. Set the "Receive Port" to the streaming port set inside of Rokoko Studio. The default is 14043

Press play and you should now see your character moving according to the streamed data.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.