Avatar Creator for WebGL
Let users create avatars in your Unity WebGL applications.
Last updated
Was this helpful?
Let users create avatars in your Unity WebGL applications.
Last updated
Was this helpful?
Players can create Ready Player Me avatars seamlessly within a Unity WebGL application.
Ready Player Me SDK. You need the Ready Player Me SDK for Unity installed with your project to retrieve avatars. See the for download and setup instructions.
To run the WebGL Sample you will need to do as follows:
Open the Unity Package manager by going to Window/Package Manager
Find and select the Ready Player Me Core package
On the right side of the window open the Samples section
Find the WebGLSample
and the click Import button
After it imports you should get a popup asking if you want to auto import the WebGLTemplate
, we recommend you click OK
After all that is complete you should see the WebGL sample is imported and can be found in the Assets/Samples/Ready Player Me Core/VERSION_NUMBER/WebGLSample
folder
In there you will find a Scenes folder with the example scene
You can add this into your build settings if you want to test it out. As this uses a WebGL template to display the iFrame it will not work in Editor
Lastly if you have set everything up correctly you can build and run for WebGL to run the WebGLSample scene
If you had errors importing or you did not receive the auto import popup you can manually import the RpmWebGLTemplate
by importing the Unity package which can be found in the project hierarchy under Packages/Ready Player Me Core/Editor/WebView/RpmWebGLTemplate.unitypackage
.
You may also need to manually adjust the WebGL Player settings to use the WebGLTemplate named RPMTemplate