Merge pull request #1030 from Santarh/failExtractVrm1Meta

Fix failing extracting vrm meta file in vrm 1.0 (rarely)
This commit is contained in:
ousttrue 2021-06-14 19:55:04 +09:00 committed by GitHub
commit 30d013b0e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ namespace UniVRM10
// meta
{
var path = GetAndCreateFolder(importer.assetPath, ".vrm1.Meta");
var path = GetAndCreateFolder(importer.assetPath, ".vrm1.MetaObject");
foreach (var (key, asset) in importer.GetSubAssets<VRM10MetaObject>(importer.assetPath))
{
asset.ExtractSubAsset($"{path}/{asset.name}.asset", false);