From 9ba2d1030bb79b21bf0516bbcd33a5c2bb29a4cf Mon Sep 17 00:00:00 2001 From: Harrison Date: Tue, 23 Apr 2024 13:28:06 +0300 Subject: [PATCH 1/2] chore: set missing properties --- Runtime/AvatarCreator/Scripts/Managers/AvatarManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Runtime/AvatarCreator/Scripts/Managers/AvatarManager.cs b/Runtime/AvatarCreator/Scripts/Managers/AvatarManager.cs index 7953e1e8..c565c20d 100644 --- a/Runtime/AvatarCreator/Scripts/Managers/AvatarManager.cs +++ b/Runtime/AvatarCreator/Scripts/Managers/AvatarManager.cs @@ -164,11 +164,13 @@ public async Task CreateAvatarFromTemplateAsync(string i CoreSettingsHandler.CoreSettings.Subdomain, bodyType ); + gender = avatarProperties.Gender; if (ctxSource.IsCancellationRequested) { return new AvatarCreationResponse(null, avatarProperties); } avatarProperties.isDraft = true; + avatarId = avatarProperties.Id; avatar = await GetAvatar(avatarProperties.Id, bodyType, true); } catch (Exception e) From 96abf49acee84b5c5a5ea3691f7e6b81498dc19f Mon Sep 17 00:00:00 2001 From: Harrison Date: Tue, 23 Apr 2024 13:37:07 +0300 Subject: [PATCH 2/2] chore: update version --- .github/latest.md | 12 ++---------- CHANGELOG.md | 6 ++++++ Runtime/Core/Scripts/Data/ApplicationData.cs | 2 +- package.json | 2 +- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/latest.md b/.github/latest.md index 66f56f73..d2dea576 100644 --- a/.github/latest.md +++ b/.github/latest.md @@ -1,14 +1,6 @@ ## Changelog -### Added +### Fixed -- XR template avatar added to the Resources folder [#258](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/258) -- Avatar Creator now supports body shapes [#252](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/252) -- support for unknown exceptions [#251](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/251) -- Simple PanelManager script -- Optional define symbol to remove camera permissions from the Android manifest [#259](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/259) - -## Updated - -- removed use of tuples and deprecated old methods [#257](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/257) \ No newline at end of file +- An issue with gender and avatarID not to be set in AvatarManager [#260](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/260) \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 860e7104..0fcb0161 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [6.2.1] - 2024.04.23 + +### Fixed + +- An issue with gender and avatarID not to be set in AvatarManager [#260](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/260) + ## [6.2.0] - 2024.04.22 ### Added diff --git a/Runtime/Core/Scripts/Data/ApplicationData.cs b/Runtime/Core/Scripts/Data/ApplicationData.cs index 59c6c750..b089ece6 100644 --- a/Runtime/Core/Scripts/Data/ApplicationData.cs +++ b/Runtime/Core/Scripts/Data/ApplicationData.cs @@ -6,7 +6,7 @@ namespace ReadyPlayerMe.Core { public static class ApplicationData { - public const string SDK_VERSION = "v6.2.0"; + public const string SDK_VERSION = "v6.2.1"; private const string TAG = "ApplicationData"; private const string DEFAULT_RENDER_PIPELINE = "Built-In Render Pipeline"; private static readonly AppData Data; diff --git a/package.json b/package.json index cae4385f..7ba0f557 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.readyplayerme.core", - "version": "6.2.0", + "version": "6.2.1", "displayName": "Ready Player Me Core", "description": "This Module contains all the core functionality required for using Ready Player Me avatars in Unity, including features such as: \n - Module management and automatic package setup logic\n - Avatar loading from .glb files \n - Avatar creation \n - Avatar and 2D render requests \n - Optional Analytics\n - Custom editor windows\n - Sample scenes and assets", "unity": "2020.3",