diff --git a/Assets/VRMShaders/GLTF/IO/Editor/EditorTextureSerializer.cs b/Assets/VRMShaders/GLTF/IO/Editor/EditorTextureSerializer.cs index 6969ebf78..5bdb32a2c 100644 --- a/Assets/VRMShaders/GLTF/IO/Editor/EditorTextureSerializer.cs +++ b/Assets/VRMShaders/GLTF/IO/Editor/EditorTextureSerializer.cs @@ -87,7 +87,7 @@ namespace VRMShaders if (texture2D != null) { var path = AssetDatabase.GetAssetPath(texture2D); - if (string.IsNullOrEmpty(path)) + if (!string.IsNullOrEmpty(path)) { assetImporter = AssetImporter.GetAtPath(path) as TextureImporter; if (assetImporter != null)