mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-12 13:59:21 -05:00
Fix error at the single thread environments
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user