Skip to main content

Demo project

Please find demo project for Mobile (Andoid, iOS) and WebGL platforms below. It's possible to use Avaturn for Windows / Mac Standalone apps as well, please reach out to us. You can use Avaturn in your Unity project for free.

LINKS
  • WebGL build showing how Avaturn avatar replaces existing avatar at runtime: link.
  • WebGL build with third person controller: link.

Getting started

  1. Make sure you have git installed on your system. On Windows you can download it here.
  2. Create a new 3D (URP) project.
  3. Import Avaturn Webview SDK from SDK repository. Go to Edit -> Package Manager, click Add new package, enter https://github.com/avaturn/avaturn-unity-webview-sdk.git.
  4. When package is loaded, click "Import" in "Samples" category. The sample will be added to the project structure.

Tested with Unity 2021.3+ .


Project overview

There are 2 example scenes, each for WebGL and Mobile (iOS, Android) builds (make sure you build scenes in correct environments). Unity Editor does not have web view support so it's not possible to test Avaturn web view in the editor, you need to build the project. Nevertheless avatars can be loaded in the editor using GLB urls, see the video below.


See the video for an overview of the structure of the demo project and integration tips.