Unity SDK 7.0.0
Unified bodytype within SDK
This release focuses on unifying the bodytype over most components so that you don't need to set up the bodytypes within the editor manually. This means, that passing bodyType to different components is also no longer necessary.
Update Guide
It is recommended that you backup your project before updating, especially if you are not using source control.
Remove previous plugin versions via the Unity Package Manager
Ready Player Me Core
Ready Player Me WebView
Remove any Ready Player Me samples
Delete the
Assets/Samples/Ready Player Me CorefolderDelete the
Assets/Samples/Ready Player MeWebView folder (if it exists)
Import the latest version of the Unity SDK via the package manager using this url
https://github.com/readyplayerme/rpm-unity-sdk-core.gitAdd any other missing packages (optional)
If you are using Ready Player Me WebView and it did not automatically install, you can manually add it from the Unity Package Manager from the git url
https://github.com/readyplayerme/rpm-unity-sdk-webview.gitIf for some reason Unity glTFast did not install automatically you can also add the package by name from the Package Manager
[email protected]
Clean errors within calling API or managers most of the functions just have missing bodytype errors. To fix this, you can remove the bodyType from the parameters.

avatarApiRequests.GetUserAvatars now returns
List<UserAvatarResponse> avatars; // Where UserAvatarResponse is: public struct UserAvatarResponse { public string Id; public string Partner; public BodyType BodyType; }Instead of
Dictionary<string, string>, // Where dictionary was <Id, Partner> dictionaryThis breaks:
AvatarSelection in the AvatarCreatorWizard. The way how to fix it can be seen here.
Once these are fixed, select the correct bodyType for your application in the settings view (You can check it out in the studio under your application).


Last updated
Was this helpful?

