From 809135145c7ab9e3fb58ea466664e5fa59619cb0 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Tue, 21 May 2024 12:17:30 +0900 Subject: [PATCH] Fix error at the single thread environments --- Assets/VRM10/Runtime/IO/Vrm10.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRM10/Runtime/IO/Vrm10.cs b/Assets/VRM10/Runtime/IO/Vrm10.cs index 27be68bf4..80e6fa31a 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10.cs @@ -52,7 +52,7 @@ namespace UniVRM10 ? new RuntimeOnlyAwaitCaller() : new ImmediateCaller(); - using var gltfData = new GlbLowLevelParser(path, await File.ReadAllBytesAsync(path, ct)).Parse(); + using var gltfData = new GlbLowLevelParser(path, File.ReadAllBytes(path)).Parse(); return await LoadAsync( gltfData, canLoadVrm0X,