From dc0efc3ec8796175d3a34773076054ad398ea704 Mon Sep 17 00:00:00 2001 From: Harrison Hough Date: Mon, 1 Jul 2024 11:09:30 +0300 Subject: [PATCH 1/4] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6b1be5d..5baf74a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## Updated -- loading circle animation now using MMecanim animation [#302](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/302) +- loading circle animation now using Mecanim animation [#302](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/302) - removed unnecessary assets from Resources folder [#303](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/303) - updated Template avatar assets [#300](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/300) - Avatar Body type now moved to CoreSettings [#290](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/290) From 66ae6d0cd1c1d772b118904b2718a352b27a0e0b Mon Sep 17 00:00:00 2001 From: Harrison Date: Wed, 24 Jul 2024 15:29:48 +0300 Subject: [PATCH 2/4] fix: update web message json handling --- Runtime/WebView/Data/WebMessage.cs | 2 +- Runtime/WebView/WebMessageHelper.cs | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Runtime/WebView/Data/WebMessage.cs b/Runtime/WebView/Data/WebMessage.cs index 26a39990..48488b29 100644 --- a/Runtime/WebView/Data/WebMessage.cs +++ b/Runtime/WebView/Data/WebMessage.cs @@ -7,6 +7,6 @@ public struct WebMessage public string type; public string source; public string eventName; - public Dictionary data; + public Dictionary data; } } diff --git a/Runtime/WebView/WebMessageHelper.cs b/Runtime/WebView/WebMessageHelper.cs index 4fba0a57..e24244e6 100644 --- a/Runtime/WebView/WebMessageHelper.cs +++ b/Runtime/WebView/WebMessageHelper.cs @@ -15,23 +15,23 @@ public static class WebMessageHelper public static string GetAvatarUrl(this WebMessage webMessage) { - webMessage.data.TryGetValue(DATA_URL_FIELD_NAME, out var avatarUrl); - return avatarUrl ?? string.Empty; + webMessage.data.TryGetValue(DATA_URL_FIELD_NAME, out var avatarUrlObject); + return (string) avatarUrlObject ?? string.Empty; } public static string GetUserId(this WebMessage webMessage) { - webMessage.data.TryGetValue(ID_KEY, out var userId); - return userId ?? string.Empty; + webMessage.data.TryGetValue(ID_KEY, out var userIdObject); + return (string) userIdObject ?? string.Empty; } public static AssetRecord GetAssetRecord(this WebMessage webMessage) { - webMessage.data.TryGetValue(ASSET_ID_KEY, out var assetId); - webMessage.data.TryGetValue(USER_ID_KEY, out var userId); + webMessage.data.TryGetValue(ASSET_ID_KEY, out var assetIdObject); + webMessage.data.TryGetValue(USER_ID_KEY, out var userIdObject); var assetRecord = new AssetRecord(); - assetRecord.AssetId = assetId; - assetRecord.UserId = userId; + assetRecord.AssetId = (string) assetIdObject ?? string.Empty; + assetRecord.UserId = (string) userIdObject ?? string.Empty; return assetRecord; } } From fce0d5f3b7aaf044f1a39c46c1eebf6373988fd0 Mon Sep 17 00:00:00 2001 From: Harrison Date: Wed, 24 Jul 2024 15:35:30 +0300 Subject: [PATCH 3/4] chore: version update --- .github/latest.md | 5 +---- CHANGELOG.md | 6 ++++++ Runtime/Core/Scripts/Data/ApplicationData.cs | 2 +- package.json | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/latest.md b/.github/latest.md index 34e41c67..111164bf 100644 --- a/.github/latest.md +++ b/.github/latest.md @@ -1,8 +1,5 @@ ## Changelog -## Updated -- Reworked shader overrides to support mapping of other property types [#306](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/306) - ## Fixed -- Fixed an issue caused by missing bones on avatar template prefabs [#310](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/310/) \ No newline at end of file +- Fixed an issue causing json parsing to fail on iFrame events [#311](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/311/) \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a044ebc9..e4e3211d 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/). + +## [7.1.1] - 2024.07.24 + +## Fixed +- Fixed an issue causing json parsing to fail on iFrame events [#311](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/311/) + ## [7.1.0] - 2024.07.16 ## Updated diff --git a/Runtime/Core/Scripts/Data/ApplicationData.cs b/Runtime/Core/Scripts/Data/ApplicationData.cs index ed5f9c15..897aa8e9 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 = "v7.1.0"; + public const string SDK_VERSION = "v7.1.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 817ef82f..5c888726 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.readyplayerme.core", - "version": "7.1.0", + "version": "7.1.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", From efa0e6a234b9d61eab5f38a196192e4a342b34be Mon Sep 17 00:00:00 2001 From: Harrison Date: Thu, 25 Jul 2024 07:01:34 +0300 Subject: [PATCH 4/4] chore: update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4e3211d..d41ed308 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [7.1.1] - 2024.07.24 +## [7.1.1] - 2024.07.25 ## Fixed - Fixed an issue causing json parsing to fail on iFrame events [#311](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/311/)