Avatar Creator ( WebGL)

The Avatar Creator can be integrated into your WebGL Unity Project. This requires setting up the communication between the Avatar Creator and your Unity application.

Download and open the sample Unity Project from GitHub. https://github.com/readyplayerme/Unity-WebGL-Example

This sample project uses a custom WebGL template to embed the Ready Player Me character creator inside an application to seamlessly add avatars. Use this as a reference for adding Ready Player Me avatars to your Unity WebGL application.

This example has been tested in Unity 2020.3LTS and newer versions. See Troubleshooting if you encounter build errors.

Running the project

  1. Make sure you are building for WebGL and Scenes/WebGLExample is included in the Build Settings.

  2. Open Project Settings > Player > Settings for WebGL > Resolution and Presentation and select the template for your version of Unity.

  3. Build and run the project. You should see the Avatar Creator, be able to create an avatar, close the Avatar Creator, and see the avatar in the scene.

Using the template

For Unity 2019 use the RPM_2019 Template. For later versions, use the RPMTemplate.

Last updated