mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 22:50:08 -05:00
Fix error at the single thread environments
This commit is contained in:
parent
3ec05a2346
commit
809135145c
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user