From 0e4845c9b7f0f490c0d1ded9d288906471c34c9f Mon Sep 17 00:00:00 2001 From: Robin Sharma Date: Fri, 23 Sep 2022 22:33:18 +0200 Subject: [PATCH] Re-add byte size --- Assets/Plugins/Ready Player Me/Runtime/AvatarLoader.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Plugins/Ready Player Me/Runtime/AvatarLoader.cs b/Assets/Plugins/Ready Player Me/Runtime/AvatarLoader.cs index 509974c..af311e2 100644 --- a/Assets/Plugins/Ready Player Me/Runtime/AvatarLoader.cs +++ b/Assets/Plugins/Ready Player Me/Runtime/AvatarLoader.cs @@ -92,6 +92,7 @@ private async void Load(string url) else { var avatar = (GameObject) context.Data; + context.Metadata.ByteSize = context.Bytes.Length; avatar.SetActive(true); OnCompleted?.Invoke(this, new CompletionEventArgs {