diff --git a/Assets/VRM/Editor/Format/vrmAssetPostprocessor.cs b/Assets/VRM/Editor/Format/vrmAssetPostprocessor.cs index 8c99c71e9..4aa6197d6 100644 --- a/Assets/VRM/Editor/Format/vrmAssetPostprocessor.cs +++ b/Assets/VRM/Editor/Format/vrmAssetPostprocessor.cs @@ -17,7 +17,13 @@ namespace VRM { foreach (string path in importedAssets) { - if (UnityPath.FromUnityPath(path).IsStreamingAsset) + var unityPath = UnityPath.FromUnityPath(path); + + if (!unityPath.IsFileExists) { + continue; + } + + if (unityPath.IsStreamingAsset) { Debug.LogFormat("Skip StreamingAssets: {0}", path); continue; @@ -28,7 +34,7 @@ namespace VRM { try { - ImportVrm(UnityPath.FromUnityPath(path)); + ImportVrm(unityPath); } catch (NotVrm0Exception) {