diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f5d1c2..3954061 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,15 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [0.3.2] - 2024.04.25 + +### Fixed +- Issue causing avatar config settings not wt be applied [#11](https://github.com/readyplayerme/rpm-unity-sdk-photon-support/pull/11) + ## [0.3.1] - 2024.03.01 ### Updated -- Added all possible mesh options to Photon Test Character for multi-mesh avatar support. [#241](https://github.com/readyplayerme/rpm-unity-sdk-photon-support/pull/7) +- Added all possible mesh options to Photon Test Character for multi-mesh avatar support. [#7](https://github.com/readyplayerme/rpm-unity-sdk-photon-support/pull/7) ## [0.3.0] - 2024.01.17 diff --git a/Runtime/NetworkPlayer.cs b/Runtime/NetworkPlayer.cs index dd2afae..dd21c35 100644 --- a/Runtime/NetworkPlayer.cs +++ b/Runtime/NetworkPlayer.cs @@ -40,13 +40,12 @@ public void LoadAvatar(string url) private void SetPlayer(string incomingUrl) { AvatarObjectLoader loader = new AvatarObjectLoader(); - loader.LoadAvatar(incomingUrl); loader.AvatarConfig = config; + loader.LoadAvatar(incomingUrl); loader.OnCompleted += (sender, args) => { leftEye.transform.localPosition = AvatarBoneHelper.GetLeftEyeBone(args.Avatar.transform, true).localPosition; rightEye.transform.localPosition = AvatarBoneHelper.GetRightEyeBone(args.Avatar.transform, true).localPosition; - AvatarMeshHelper.TransferMesh(args.Avatar, gameObject); Destroy(args.Avatar); }; diff --git a/package.json b/package.json index ad23f90..144eb83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.readyplayerme.photonsupport", - "version": "0.3.1", + "version": "0.3.2", "displayName": "Ready Player Me Photon Support", "description": "NetworkPlayer component that allows to use Ready Player Me avatars in Photon Unity Networking 2.", "unity": "2020.3",