Skip to content

Commit

Permalink
Merge branch 'release/v4.0.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisonHough committed Nov 1, 2023
2 parents 50abeea + 5e59a5b commit c374f9f
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 11 deletions.
9 changes: 6 additions & 3 deletions .github/latest.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@

## Changelog

### Breaking Changes
- Merge avatar creator into core by @ryuuk in [#135](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/135).
- AvatarProcessor no longer searches and replaces existing avatar by @rk132 in [#138](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/138)

### Added
- moved core iframe and url logic from WebView package @harrisonhough in [#125](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/125)
- show Avatar Creator sample button in guide by @ryuuk in [#141](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/141)

### Updated
- refactored core settings handler @harrisonhough in [#124](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/124)
- centred all editor window content @harrisonhough in [#122](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/122)
- merged related samples into single folders by @harrisonhough in [#139](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/139)
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Integration Tests
name: Integration Tests

on:
push:
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.0.0] - 2023.11.01

### Breaking Changes
- Merge avatar creator into core by @ryuuk in [#135](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/135).
- AvatarProcessor no longer searches and replaces existing avatar by @rk132 in [#138](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/138)

### Added
- show Avatar Creator sample button in guide by @ryuuk in [#141](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/141)

### Updated
- merged related samples into single folders by @harrisonhough in [#139](https://github.com/readyplayerme/rpm-unity-sdk-core/pull/139)

## [3.4.0] - 2023.10.24

### Added
Expand Down
1 change: 1 addition & 0 deletions Editor/Analytics/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public static class Links
public const string DOCS_LOAD_AVATAR = "https://docs.readyplayer.me/ready-player-me/integration-guides/unity/load-avatars#save-avatars-as-npcs-in-your-project";
public const string DOCS_AVATAR_CONFIG_LINK = "https://docs.readyplayer.me/ready-player-me/integration-guides/unity/optimize/avatar-configuration";
public const string DOCS_AVATAR_CACHING = "https://docs.readyplayer.me/ready-player-me/integration-guides/unity/optimize/avatar-caching";
public const string APP_ID = "https://docs.readyplayer.me/ready-player-me/integration-guides/unity/avatar-creator/custom-avatar-creator#prerequisites";
}
}
}
2 changes: 1 addition & 1 deletion Editor/Module Management/ModuleList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static class ModuleList
name = "com.readyplayerme.core",
gitUrl = "https://github.com/readyplayerme/rpm-unity-sdk-core.git",
branch = "",
version = "3.3.0"
version = "4.0.0"
};

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Editor/UI/EditorWindows/SettingsWindow/SettingsEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public class SettingsEditor : EditorWindow

private const string ANALYTICS_PRIVACY_URL = "https://docs.readyplayer.me/ready-player-me/integration-guides/unity/help-us-improve-the-unity-sdk";

private const string DOCS_URL = "https://bit.ly/UnitySDKDocs";
private const string FAQ_URL = "https://docs.readyplayer.me/overview/frequently-asked-questions/game-engine-faq";
private const string DOCS_URL = "https://docs.readyplayer.me/ready-player-me/integration-guides/unity";
private const string FAQ_URL = "https://docs.readyplayer.me/ready-player-me/integration-guides/unity/faq-for-unity";
private const string DISCORD_URL = "https://bit.ly/UnitySDKDiscord";
private const string PRIVACY_POLICY_LABEL = "PrivacyPolicyLabel";

Expand Down
2 changes: 1 addition & 1 deletion Editor/UI/EditorWindows/Templates/AppIdTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public AppIdTemplate()
private static void OnAppIdHelpClicked()
{
AnalyticsEditorLogger.EventLogger.LogFindOutMore(HelpSubject.Subdomain);
Application.OpenURL(Constants.Links.DOCS_PARTNERS_LINK);
Application.OpenURL(Constants.Links.APP_ID);
}

private void OnAppIdFocusOut(FocusOutEvent _)
Expand Down
70 changes: 70 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,73 @@ A guide for customizing avatar creator can be found [here.](Documentation~/Custo
- [*]Camera support is only provided for Windows and WebGL, using Unity’s webcam native API.
- Unity does not have a native file picker, so we have discontinued support for this feature.
- To add support for file picker (for selfies) you have to implement it yourself

**4.** Paste in this url

`https://github.com/readyplayerme/rpm-unity-sdk-core.git`

![paste-git-url](https://user-images.githubusercontent.com/7085672/206432731-f9e0d161-7843-4d6e-8851-47b1f3bfb3bc.png)

**5.** Click add and wait for the import process to finish.

After the process is complete you project will have imported these packages:

- **Ready Player Me Core**
- **Ready Player Me WebView**
- **glTFast**

![image](https://github.com/readyplayerme/rpm-unity-sdk-core/assets/1121080/234ff559-cb19-4b39-bb14-a5621db1811b)

## Alternate Installation

### Using Git URL

1. Navigate to your project's Packages folder and open the manifest.json file.
2. Add this line below the `"dependencies": {` line
- ```json title="Packages/manifest.json"
"com.readyplayerme.core": "https://github.com/readyplayerme/rpm-unity-sdk-core.git",
```
3. UPM should now install the package.

### OpenUPM (using command line)

1. The package is available on the [openupm registry](https://openupm.com).
2. Execute the openum command.
- ```
openupm add com.readyplayerme.core
```
### OpenUPM (using editor)

1. Open `Edit | Project Settings | Package Manager`
2. Add a new Scoped Registry (or edit the existing OpenUPM entry)
- ```
Name package.openupm.com
URL https://package.openupm.com
Scope(s) com.readyplayerme.core
```
3. Click Save (or Apply)
4. Open Window/Package Manager
5. Click +
6. Select Add package by name... or Add package from git URL...
7. Paste `com.readyplayerme.core` into name
8. Click Add

### OpenUPM (using manifest)

1. Add this to manifest
- ```{
"scopedRegistries": [
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"com.readyplayerme.core"
]
}
],
"dependencies": {
"com.readyplayerme.core": "4.0.0"
}
}
```

2 changes: 1 addition & 1 deletion Runtime/Data/ApplicationData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace ReadyPlayerMe.Core
{
public static class ApplicationData
{
private const string SDK_VERSION = "v3.4.0";
private const string SDK_VERSION = "v4.0.0";
private const string TAG = "ApplicationData";
private const string DEFAULT_RENDER_PIPELINE = "Built-In Render Pipeline";
private static readonly AppData Data;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.readyplayerme.core",
"version": "3.4.0",
"version": "4.0.0",
"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",
Expand Down Expand Up @@ -50,4 +50,4 @@
"path": "Samples~/AvatarCreatorSamples"
}
]
}
}

0 comments on commit c374f9f

Please sign in to comment.