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.

  1. Remove previous plugin versions via the Unity Package Manager

    • Ready Player Me Core

    • Ready Player Me WebView

  2. Remove any Ready Player Me samples

    1. Delete the Assets/Samples/Ready Player Me Core folder

    2. Delete the Assets/Samples/Ready Player Me WebView folder (if it exists)

  3. Import the latest version of the Unity SDK via the package manager using this url https://github.com/readyplayerme/rpm-unity-sdk-core.git

  4. Add 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.git

    • If for some reason Unity glTFast did not install automatically you can also add the package by name from the Package Manager com.unity.cloud.gltfast@6.0

  5. 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.

    1. 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> dictionary

        This breaks:

        • AvatarSelection in the AvatarCreatorWizard. The way how to fix it can be seen here.

  6. 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