Compatibility package for Ready Player Me avatars and Ubiq. Currently support is only good for HalfBody
avatars.
- Add git packages in the Unity package manager (UPM). UPM can't yet support hierarchical dependencies in git packages, so you'll need to install dependencies manually. For more info see UPM instructions here.
https://github.com/UCL-VR/ubiq.git#v0.5.0-upm
https://github.com/readyplayerme/rpm-unity-sdk-core.git#v1.3.3
- In the UPM window, select Ubiq from the package list and import the Samples. Note that you must do this now as this package depends on some features of the core Ubiq samples.
- Add this git package through UPM.
https://github.com/UCL-VR/ubiq-avatars-readyplayerme.git#v1.0.2-upm
The RPM-Avatar
prefab can be added to the AvatarCatalogue
on your AvatarManager
to make it spawnable. To also make it the default, replace avatarPrefab
on the AvatarManager
with RPM-Avatar
. See the Example scene in this package's Samples to see this already configured. Samples can be installed through the UPM window (select this package).
Unity will not allow you to change the prefab directly as it comes from a package which may be cached. Should you want to make changes to the prefab, make a prefab variant.
Avatar models can be designed with Ready Player Me's web interface. An url is provided once the model has been created. Note before you start that this package currently only supports HalfBody
avatars! The web interface can be found here.
Avatar loading is done at runtime by the UbiqReadyPlayerMeAvatarLoader
script on the RPM-Avatar
prefab. Different models can be loaded by changing the avatarUrl
variable on this script. Urls can also be supplied at runtime by calling the Load
method on the script.