LogoLogo
WebsiteBlogForumsSign up
  • Welcome
  • How Ready Player Me works
  • FAQ
  • 👩‍💻Integration Guides
    • Overview
    • Unity
      • Quickstart
      • Avatar Creator Integration
        • WebView Avatar Creator
          • Avatar Creator for Android & iOS
          • Avatar Creator for WebGL
        • Build your own Avatar Creator
          • Start with the sample
          • Elements
            • Asset Selection Element
            • Color Selection Element
            • Template Selection Element
            • Body Shapes Selection Element
            • Gender Selection Element
            • Avatar List Element
            • Photo Capture Element
            • Signup Element
            • Login Element
            • Logout Element
          • User Management
      • Load 2D Renders
      • Avatar Loader Window
      • Setup Multiplayer
      • Setup for XR (Beta)
        • Setup the Player Avatar
        • Setup Meta Movement SDK
        • Setup Final IK
        • Setup XR Hands
          • RpmHandDriver script
        • Facial Animations
        • VR Avatar Creator
      • Animations
        • Ready Player Me Animation Library
        • Mixamo Animations
      • Optimize
        • Avatar Configuration
        • Avatar Caching
        • Defer Agents
      • Code Samples
        • Loading 3D Avatars
        • Loading 2D Avatars
        • Avatar Creator (WebGL)
        • Avatar Creator (Desktop)
        • Avatar Creator (Mobile)
        • Distance-based LODs
      • Troubleshooting
        • Editor UI Window Issues
        • Avatar loading issues
        • iOS issues
        • WebGL issues
        • Firewall issues
        • Updating the SDK
          • Unity SDK 3.0.0 Migration guide
          • Unity SDK 4.0.0 Migration guide
          • Unity SDK 5.0.0
          • Unity SDK 7.0.0
          • WebView 2.0 Migration
        • Package installation issues
      • Help us improve the Unity SDK
      • FAQ for Unity
      • Early Access Features
    • Unreal Engine
      • Quickstart
        • Import SDK Manually
      • Avatar Creator Integration
        • Build your own Avatar Creator
          • Sample Structure
          • Customization Guide
        • WebView Avatar Creator
      • Load Avatars
      • Animations
        • Ready Player Me Animation Library
        • Loading Mixamo animations
        • Mannequin animation retargeting
        • Blender FBX export to UE
        • Oculus Lipsync integration
      • Optimize
        • Avatar configuration
        • Avatar caching
        • Avatar preloading
      • Code Samples
        • Unreal Engine 5 samples
        • Lyra project integration example
        • VR Avatars
        • Unreal Engine 4
      • Troubleshooting
        • Project compilation issues
        • Missing materials on built applications
        • Avatar loading issues
        • Animation issues
        • Unreal SDK breaking changes
        • Avatar lighting issues
        • Updating from earlier versions
          • Unreal SDK 3.0.0 Migration guide
        • Auto LOD issues
      • Help us improve the Unreal Engine SDK
      • FAQ for Unreal Engine
      • Early Access Features
    • React
      • Quickstart
    • React Native
    • iOS Native
    • Android Native
    • Web Integration
      • Quickstart
      • User Management
        • Guest Accounts
        • Account Linking
      • Avatar Creator integration
      • Optimize
    • API Integration
      • Quickstart
      • Custom Avatar Creator
      • User management
        • Ready Player Me Account
        • Anonymous Accounts
    • UX/UI Guidelines
      • Summary & quick tips
      • UX and UI guidelines and essentials
        • Foundation for good user experience
          • Layout
          • Colors
          • Typography
          • Icons
          • Dark mode and light mode
        • Mobile best practices
          • Layout
        • Making Ready Player Me feel native
          • Seamless Avatar Integration
          • Consistent Branding
          • Responsive Layout
          • Performance Optimization
        • Discoverability of the avatar editor
          • Onboarding tutorial
          • Clear navigation
          • Contextual Placement
  • 🖌️Customizing Guides
    • Studio (Developer Dashboard)
    • Avatar Creator Appearance
      • Avatar URLs
      • Avatar Shortcodes
    • Upload and Manage Custom Assets
      • Asset Manager in Studio
      • Configure in Studio
      • Manage custom assets using the API
      • Unlocking assets through API (Beta)
    • Create Custom Assets
      • Fullbody Outfits
        • Checking Skin Weights
      • Tops, Bottoms, Shoes
        • Editing templates
      • Hairstyle
      • Headwear
      • Facewear
      • Glasses
      • Hero Characters
      • Modeling Guidelines
  • 🔃API Reference
    • REST API
      • Authentication
      • Avatars
        • GET - 3D avatar
        • GET - 2D Render of an Avatar
        • GET - Metadata
        • PUT - Equip an asset
        • PUT - Unequip an asset
      • Assets
        • Asset Entity Properties
        • POST - Create Asset
        • GET - List Assets
        • PATCH - Update Asset
        • POST - Upload Asset Files
        • POST - Add Asset to Application
        • DELETE - Remove Asset from Application
        • PUT - Unlock asset for a user
        • PUT - Lock asset for a user
      • Users
        • POST - Create User
      • Auth
        • GET - Token
      • Changelog
    • Avatars
      • Full-body avatars
      • Full-body XR avatars
      • Half-body avatars
      • Morph targets
        • Apple ARKit
        • Oculus OVR LipSync
    • Avatar Creator
  • 🔉Support
    • Forums
    • Licensing & Privacy
Powered by GitBook
On this page
  • Update Guide
  • API Changes
  • Sample Namespaces
  • WebRequest class name changes
  • Removal of Endpoint classes
  • glTFast version update to 6.0.1

Was this helpful?

  1. Integration Guides
  2. Unity
  3. Troubleshooting
  4. Updating the SDK

Unity SDK 5.0.0

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

    • gltFast

  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. Add Ready Player Me Samples (optional)

    1. Since we removed the old samples, you will need to import the new samples if you wish to use them. Please be aware that some things may have changed. If needed you can refer to your backup of the old samples.

  6. Upgrade outdated API's (please refer to the API changes section below)

API Changes

Sample Namespaces

All sample scripts are wrapped in a namespace following the convention.

namespace ReadyPlayerMe.Samples.SampleName
//EG
namespace ReadyPlayerMe.Samples.LegacyAvatarCreator

So just be aware that if you have any scripts that reference any sample classes you will need to add additional using statements to your script. For example:

using ReadyPlayerMe.Samples.SampleName;

WebRequest class name changes

As part of a refactor we renamed the following classes to follow a more uniform request naming convention.

AuthenticationRequests.cs -> AuthAPIRequests.cs
PartnerAssetsRequests -> AssetAPIRequests.cs

As such if you reference any of these classes you will need to update with the new naming like shown in the below example

// Old API
await AuthenticationRequests.SendCodeToEmail(email, userSession.Id);
// New API
await AuthAPIRequests.SendCodeToEmail(email, userSession.Id);

Removal of Endpoint classes

As part of a big refactor we removed our static endpoint classes in favor of isolating the endpoints inside the web request classes that use them. As such the following classes have been removed.

AssetEndpoints.cs
AuthEndpoints.cs
AvatarEndoints.cs
Endpoints.cs

If for some reason you would like to find or use an endpoint for custom functionality we do not provide can take a look at our API request classes contact our support team for a feature request. The API request classes can be found in the Runtime/AvatarCreator/Scripts/WebRequests folder.

glTFast version update to 6.0.1

This update includes some minor changes to enable us to update to glTFast version 6.0.1. The change only effects our GltFastGameObjectInstantiator.cs. This change does not effect other scripts however it does mean that Unity SDK 5.0.0 will not work with older versions of glTFast.

PreviousUnity SDK 4.0.0 Migration guideNextUnity SDK 7.0.0

Last updated 11 months ago

Was this helpful?

👩‍💻