Avatar Creator (Mobile)
Integrate the Avatar Creator with a mobile app.
Last updated
Integrate the Avatar Creator with a mobile app.
Last updated
This example demonstrates how to integrate a Ready Player Me WebView into a Unity Scene. This feature lets users create Ready Player Me avatars directly in a WebView browser displayed in Unity at runtime on mobile devices.
The WebView package will only work on built mobile applications (Android or ios).
As of the 6.0 release of the Ready Player Me Core package, it no longer automatically imports the WebView package as part of the import process. If you wish to use the Ready Player Me WebView package you can very easily install it with the following steps.
Inside your Unity project, open the Package Manager
Click the + symbol on the top left corner of the Package Manager window
Select Add from git URL
Paste the following url to install the latest WebView package
https://github.com/readyplayerme/rpm-unity-sdk-webview.git
The package should begin importing immediately
For more information on how to install WebView you can refer to this guide.
The WebView sample can be imported via the Unity package manager under the Ready Player Me WebView section.
Include the WebView
scene in the Unity build settings
Set the build platform to iOS or Android
Click build (or build and run)
Run the built application on your mobile device
Click Display WebView.
A WebView loads, and you can create a Ready Player Me avatar.
Once avatar creation is complete, the WebView closes and the avatar is loaded into the Scene.