diff --git a/Assets/VRM/Runtime/IO/VRMMtoonMaterialImporter.cs b/Assets/VRM/Runtime/IO/VRMMtoonMaterialImporter.cs index 345c74da3..75470b3c5 100644 --- a/Assets/VRM/Runtime/IO/VRMMtoonMaterialImporter.cs +++ b/Assets/VRM/Runtime/IO/VRMMtoonMaterialImporter.cs @@ -97,7 +97,7 @@ namespace VRM public IEnumerable<(SubAssetKey, TextureImportParam)> EnumerateTexturesForMaterial(GltfParser parser, int i) { // mtoon - if (TryCreateParam(parser, i, out MaterialImportParam param)) + if (!TryCreateParam(parser, i, out MaterialImportParam param)) { // unlit if (!GltfUnlitMaterial.TryCreateParam(parser, i, out param))