From fc774d2f6beda9ef49666f793d6a648bb9c8bbcb Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 30 Jun 2021 15:39:21 +0900 Subject: [PATCH] FromFullpath to FromUnityPath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 間違いが起こりやすい。UnityPath が自分で絶対パス判定した方がいいかも --- .../Editor/UniGLTF/ScriptedImporter/RemapEditorMaterial.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapEditorMaterial.cs b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapEditorMaterial.cs index b94a2bfd6..88bdfdd42 100644 --- a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapEditorMaterial.cs +++ b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapEditorMaterial.cs @@ -90,7 +90,7 @@ namespace UniGLTF .ToDictionary(kv => kv.Item1, kv => kv.Item2) ; - var assetPath = UnityPath.FromFullpath(self.assetPath); + var assetPath = UnityPath.FromUnityPath(self.assetPath); var dirName = textureDir(assetPath.Value); // $"{assetPath.FileNameWithoutExtension}.Textures"; TextureExtractor.ExtractTextures( data,