Skip to content

Commit

Permalink
Fix for new VRC SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
blepmlem committed Mar 8, 2023
1 parent 3994446 commit 7745912
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Editor/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using VRC.Core;
using VRC.SDK3.Avatars.Components;
using VRC.SDK3.Avatars.ScriptableObjects;
using VRC.SDK3.Image;
using Object = UnityEngine.Object;

namespace ExpressionUtility
Expand Down Expand Up @@ -46,7 +47,7 @@ void OnSuccess(Texture2D texture2D)
tcs.TrySetResult((imageUrl, result));
}

void OnFailure()
void OnFailure(ImageLoadError error)
{
_cachedTextureDownloads.Remove(imageUrl);
tcs.TrySetResult((imageUrl, null));
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
Unity's Package manager, while supporting git, does not come with any embedded git install, so this will only work if you have [git](https://git-scm.com/download/win) installed beforehand.
- Open Unity's Package Manager and add the git url:

```https://github.com/blepmlem/VRChat-Expression-Utility.git#2.4.1```
```https://github.com/blepmlem/VRChat-Expression-Utility.git#2.4.2```

### If you do not have git installed
- Download [the latest zip file here](https://github.com/blepmlem/VRChat-Expression-Utility/archive/refs/tags/2.4.1.zip) and unzip the folder (not just the content) into your *Packages* folder located in the *root* of your Unity project folder.
- Download [the latest zip file here](https://github.com/blepmlem/VRChat-Expression-Utility/archive/refs/tags/2.4.2.zip) and unzip the folder (not just the content) into your *Packages* folder located in the *root* of your Unity project folder.


![1](https://user-images.githubusercontent.com/76069764/156886633-f714b614-9eac-4307-9227-46ff7a43138e.png)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.blep.vrc-expression-utility",
"displayName": "VRC Expression Utility",
"description": "Simplify creating multiple types of common VRC expressions! \nAllows for automatically adding and configuring new VRC parameters, animation clips, animator layers, and more!",
"version": "2.4.1",
"version": "2.4.2",
"author": {
"name": "blep",
"url": "https://github.com/blepmlem/VRChat-Expression-Utility"
Expand Down

0 comments on commit 7745912

Please sign in to comment.