Skip to content

Commit ba3c1a2

Browse files
committed
Merge branch 'hotfix/v7.1.1' into develop
2 parents 1c6cb0a + efa0e6a commit ba3c1a2

File tree

6 files changed

+18
-15
lines changed

6 files changed

+18
-15
lines changed

.github/latest.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11

22
## Changelog
33

4-
## Updated
5-
- Reworked shader overrides to support mapping of other property types [#306](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/306)
6-
74
## Fixed
8-
- Fixed an issue caused by missing bones on avatar template prefabs [#310](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/310/)
5+
- Fixed an issue causing json parsing to fail on iFrame events [#311](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/311/)

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6+
7+
## [7.1.1] - 2024.07.25
8+
9+
## Fixed
10+
- Fixed an issue causing json parsing to fail on iFrame events [#311](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/311/)
11+
612
## [7.1.0] - 2024.07.16
713

814
## Updated

Runtime/Core/Scripts/Data/ApplicationData.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace ReadyPlayerMe.Core
66
{
77
public static class ApplicationData
88
{
9-
public const string SDK_VERSION = "v7.1.0";
9+
public const string SDK_VERSION = "v7.1.1";
1010
private const string TAG = "ApplicationData";
1111
private const string DEFAULT_RENDER_PIPELINE = "Built-In Render Pipeline";
1212
private static readonly AppData Data;

Runtime/WebView/Data/WebMessage.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ public struct WebMessage
77
public string type;
88
public string source;
99
public string eventName;
10-
public Dictionary<string, string> data;
10+
public Dictionary<string, object> data;
1111
}
1212
}

Runtime/WebView/WebMessageHelper.cs

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ public static class WebMessageHelper
1515

1616
public static string GetAvatarUrl(this WebMessage webMessage)
1717
{
18-
webMessage.data.TryGetValue(DATA_URL_FIELD_NAME, out var avatarUrl);
19-
return avatarUrl ?? string.Empty;
18+
webMessage.data.TryGetValue(DATA_URL_FIELD_NAME, out var avatarUrlObject);
19+
return (string) avatarUrlObject ?? string.Empty;
2020
}
2121

2222
public static string GetUserId(this WebMessage webMessage)
2323
{
24-
webMessage.data.TryGetValue(ID_KEY, out var userId);
25-
return userId ?? string.Empty;
24+
webMessage.data.TryGetValue(ID_KEY, out var userIdObject);
25+
return (string) userIdObject ?? string.Empty;
2626
}
2727

2828
public static AssetRecord GetAssetRecord(this WebMessage webMessage)
2929
{
30-
webMessage.data.TryGetValue(ASSET_ID_KEY, out var assetId);
31-
webMessage.data.TryGetValue(USER_ID_KEY, out var userId);
30+
webMessage.data.TryGetValue(ASSET_ID_KEY, out var assetIdObject);
31+
webMessage.data.TryGetValue(USER_ID_KEY, out var userIdObject);
3232
var assetRecord = new AssetRecord();
33-
assetRecord.AssetId = assetId;
34-
assetRecord.UserId = userId;
33+
assetRecord.AssetId = (string) assetIdObject ?? string.Empty;
34+
assetRecord.UserId = (string) userIdObject ?? string.Empty;
3535
return assetRecord;
3636
}
3737
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.readyplayerme.core",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"displayName": "Ready Player Me Core",
55
"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",
66
"unity": "2020.3",

0 commit comments

Comments
 (0)