Skip to content

Commit 05c17b5

Browse files
committed
Merge branch 'release/v6.3.0' into develop
2 parents cd3b34a + d7c8963 commit 05c17b5

File tree

13 files changed

+47
-20
lines changed

13 files changed

+47
-20
lines changed

.github/latest.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11

22
## Changelog
33

4+
### Updated
5+
6+
- XR animation avatars now have DOF enabled by default [#288](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/288)
7+
- Updated InCreatorAvatarLoader to use avatar config [#286](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/286)
8+
- Avatar Creator Icon categories updated [#272](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/272)
9+
410
### Fixed
511

6-
- Updated XR template prefab meshes to prevent missing bone references to fix mexh transfer [#266](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/266)
12+
- Fixed an issue preventing LOD's from updating [#277](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/277)
13+
- An issue causing multiple signup requests [#275](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/275)
14+
15+
### Added
16+
- Avatar template type filter [#270](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/270)
17+
- Handle failed body shape requests [#281](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/281)
18+
- Option to filter Templates by gender [#273](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/273)

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,29 @@
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+
## [6.3.0] - 2024.06.11
7+
8+
### Updated
9+
10+
- XR animation avatars now have DOF enabled by default [#288](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/288)
11+
- Updated InCreatorAvatarLoader to use avatar config [#286](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/286)
12+
- Avatar Creator Icon categories updated [#272](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/272)
13+
14+
### Fixed
15+
16+
- Fixed an issue preventing LOD's from updating [#277](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/277)
17+
- An issue causing multiple signup requests [#275](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/275)
18+
19+
### Added
20+
- Avatar template type filter [#270](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/270)
21+
- Handle failed body shape requests [#281](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/281)
22+
- Option to filter Templates by gender [#273](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/273)
23+
624
## [6.2.4] - 2024.05.03
725

826
### Fixed
927

10-
- Updated XR template prefab meshes to prevent missing bone references to fix mexh transfer [#266](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/266)
28+
- Updated XR template prefab meshes to prevent missing bone references to fix mesh transfer [#266](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/266)
1129

1230
## [6.2.3] - 2024.04.29
1331

Editor/Core/Scripts/UI/EditorWindows/SettingsWindow/SettingsEditor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private void OnCachingHelpClick()
105105

106106
private void OnAvatarCachingToggle(ChangeEvent<bool> evt)
107107
{
108-
AvatarLoaderSettingsHelper.AvatarLoaderSettings.AvatarCachingEnabled = evt.newValue;
108+
AvatarLoaderSettingsHelper.SetAvatarCaching(evt.newValue);
109109
AnalyticsEditorLogger.EventLogger.LogSetCachingEnabled(evt.newValue);
110110
}
111111

File renamed without changes.

Runtime/Core/Resources/AnimationAvatars/Feminine_XR.fbx.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Runtime/Core/Resources/AnimationAvatars/Masculine_XR.fbx.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Runtime/Core/Scripts/Data/ApplicationData.cs

Lines changed: 1 addition & 1 deletion
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 = "v6.2.4";
9+
public const string SDK_VERSION = "v6.3.0";
1010
private const string TAG = "ApplicationData";
1111
private const string DEFAULT_RENDER_PIPELINE = "Built-In Render Pipeline";
1212
private static readonly AppData Data;

Samples~/AvatarCreatorSamples/AvatarCreatorWizard/Scripts/UI/AvatarCreatorStateMachine.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private void Initialize()
103103

104104
private void OnStateChanged(StateType current, StateType previous)
105105
{
106-
backButton.gameObject.SetActive(!CanShowBackButton(current));
106+
backButton.gameObject.SetActive(CanShowBackButton(current, previous));
107107
saveButton.gameObject.SetActive(current == StateType.Editor);
108108

109109
if (current == StateType.End)
@@ -112,9 +112,9 @@ private void OnStateChanged(StateType current, StateType previous)
112112
}
113113
}
114114

115-
private bool CanShowBackButton(StateType current)
115+
private bool CanShowBackButton(StateType current, StateType previous)
116116
{
117-
return current == StateType.LoginWithCodeFromEmail || current == StateType.AvatarSelection;
117+
return current != startingState && current != previous;
118118
}
119119

120120
public void OnCustomizeDraft(string avatarId)

Samples~/AvatarCreatorSamples/AvatarCreatorWizard/Scripts/UI/StateMachine/StateMachine.cs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public abstract class StateMachine : MonoBehaviour
1313

1414
protected Action<StateType, StateType> StateChanged;
1515
private StateType currentState;
16-
16+
1717
protected void Initialize(List<State> states)
1818
{
1919
foreach (var state in states)
@@ -34,7 +34,7 @@ public void SetState(StateType stateType)
3434
SetState(stateTypeMap[stateType].NextState);
3535
return;
3636
}
37-
37+
3838
previousStates.Push(previousState);
3939
}
4040

@@ -54,23 +54,20 @@ protected void ClearPreviousStates()
5454
public void GoToPreviousState()
5555
{
5656
var previousState = currentState;
57-
58-
DeactivateState(stateTypeMap[previousState]);
57+
if (currentState == StateType.None || previousStates.Count == 0) return;
5958

59+
DeactivateState(stateTypeMap[previousState]);
6060
currentState = previousStates.Pop();
61-
if (currentState != StateType.None)
62-
{
63-
ActivateState(stateTypeMap[currentState]);
64-
StateChanged?.Invoke(currentState, previousState);
65-
}
61+
ActivateState(stateTypeMap[currentState]);
62+
StateChanged?.Invoke(currentState, previousState);
6663
}
6764

6865
private void ActivateState(State state)
6966
{
7067
state.gameObject.SetActive(true);
7168
state.ActivateState();
7269
}
73-
70+
7471
private void DeactivateState(State state)
7572
{
7673
state.gameObject.SetActive(false);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.readyplayerme.core",
3-
"version": "6.2.4",
3+
"version": "6.3.0",
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)