Fix error at the single thread environments

This commit is contained in:
Masataka SUMI 2024-05-21 12:17:30 +09:00
parent 3ec05a2346
commit 809135145c

View File

@ -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,