Unity SDK

Integrate Streamoji Avatars into your Unity projects with our native SDK. Load and display avatars seamlessly in your games and applications.

Key Features

Native Unity package with easy import
GLB loader optimized for Unity's rendering pipeline
Avatar animation support with Unity's Animator
Built-in avatar customization UI components
Support for ARKit blendshapes and facial animation
VR/AR integration examples (Oculus, AR Foundation)

System Requirements

Unity Version: 2021.3 LTS or later
Platforms: Windows, macOS, Linux, iOS, Android, WebGL
Rendering Pipeline: Universal Render Pipeline (URP)
Dependencies: Unity GLTFast (included in package)

Getting Started

Follow these steps to integrate the Streamoji Avatars SDK into your Unity project:

1. Download the SDK

Download the latest version of the Streamoji Avatars Unity SDK as a .unitypackage file.

Download Unity SDK (.unitypackage)

2. Import the Package

In your Unity project, go to Assets > Import Package > Custom Package... and select the StreamojiAvatars.unitypackage file you downloaded.

3. Explore Examples

The SDK includes example scenes and scripts to help you get started quickly. You can find them in the Streamoji/Examples/Scenes folder within your Assets.

Manual Integration

If you prefer not to use the SDK, you can integrate Streamoji Avatars manually:

  1. Use the REST API to fetch GLB files
  2. Import a GLB loader package (e.g., GLTFast, UnityGLTF)
  3. Load the GLB file into your scene
  4. Handle animations using Unity's Animator or Animation system

See the Web Integration guide for API usage examples that can be adapted for Unity.