A downloadable tool for Windows

Download NowName your own price

This asset is a pre-setup bridge to use Ready Player Me Runtime Avatar in Photon BR200 Free Battle Royale template, just install and play.

Already include a list of generic animations from Mixamo for Ready Player Me Avatar that required to run in BR200.

More about Photon BR200:
https://doc.photonengine.com/fusion/current/game-samples/fusion-br/overview

More about Ready Player Me:
https://readyplayer.me/

///////////////////////////////////////////////////////////////////////////////////////

Recommended UNITY version 2021 LTS

Quick Setup:

1. Install BR200 and setup Photon.

2. Install Ready Player Me Unity SDK.

https://docs.readyplayer.me/ready-player-me/integration-guides/unity/quickstart

3. Download and Install BR200xRPM_alpha-v1.0.unitypackage
 *Don't forget to update Fusion Prefab Table after importing.

4. Download and Install BR200xRPM_alpha-v1.0-Patch for RPM 3.unitypackage 
*Updated scripts to make it work with Ready Player Me UNITY SDK 3.0 and above

///////////////////////////////////////////////////////////////////////////////////////

What to check to extend:

  • Menu Scenes.

You can observe how the avatar RPM is set in the preview Menu whether it is a local avatar by gender or Avatar Runtime by looking at the SimpleAvatarLoaderMenu Component in PlayerPreview/PreviewRoot/SimpleAvatarLoaderMenu Game Object in the Hierarchy.
Also several other elements are located under the MenuUI GameObject in the hierarchy such as UIChangeAvatarUrlView, UIChangeNicknameView, and ChangeAvatarButton as a child of UIMainMenuView.

  • Agent Settings.

You can also see how AgentSettings is setup to use the Avatar runtime, Agent Settings is located in TPSBR/Resources/Settings/AgentSettings.asset in the Project Tab.

  • MenuRPM and RPMAgent Prefab.

MenuRPM and AgentRPM are prefabs act as a placeholders for the RPM Runtime Avatar. Especially for AgentRPM you can look at the SimpleAvatarLoader component and RPMDefault under Visual Game Object to see how it's setup.

  • Edited TPSBR Asset.

You can find edited line or fuction in marked by "// EDITED ... // END", all the original code edited is commented, and here is a list of the edited TPSBR asset files:

1. Edited to put gender option:

  • TPSBR/Scripts/UI/MenuViews/UIChangeNickNameView.cs
  • TPSBR/UI/Prefabs/MenuViews/UIChangeNickNameView.prefab

2. Edited to add Change Avatar button and Popup.

  • TPSBR/Scripts/UI/MenuViews/UIMainMenuView.cs
  • TPSBR/UI/Prefabs/MenuViews/UIMainMenuView.prefab

3. Edited to handling updated Avatar or Gender Preview.

  • TPSBR/Scripts/UI/MenuUI.cs

4. Data container and distributing RPM Avatar URL.

  • TPSBR/Scripts/Player/PlayerData.cs
  • TPSBR/Scripts/Player/Player.cs
  • TPSBR/Scripts/Agents/Agent/Agent.cs

5. Put Menu RPM and RPMAgent

  • TPSBR/Resources/Settings/AgentSettings.asset

6. Contain all above edited

  • TPSBR/Scenes/Menu.scene

7. leftHand IK related

  • TPSBR/Scripts/Components/Character/CharacterAnimationController.cs

///////////////////////////////////////////////////////////////////////////////////////

Limitations:

  • IK for leftHand currently disabled to avoid bone stretch issue.
  • There are still some animations that don't exist yet.
  • Currently only works with pre-defined Avatar Config provided with Texture Atlas on.

========================================================

Apart from the licenses regarding UnityPhoton BR200 and Ready Player Me, the license for this integration is under MIT license and the software is provided as is.

If you've found value in what I've shared, whether it's my creations, projects, or resources, I'd like to express my gratitude to those who have supported me. Your support plays a crucial role in enabling me to continue freelancing and producing more content for everyone to enjoy. So, a heartfelt thank you to all those who support me.

Get in touch, meet me at:

     

Download

Download NowName your own price

Click download now to get access to the following files:

BR200xRPM_alpha-v1.0.unitypackage 10 MB
BR200xRPMBridge_PC-Demo.zip 322 MB
BR200xRPM_alpha-v1.0-Patch for RPM 3.unitypackage 3 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.