diff --git a/Gems/Atom/Feature/Common/Code/Source/Decals/DecalTextureArrayFeatureProcessor.cpp b/Gems/Atom/Feature/Common/Code/Source/Decals/DecalTextureArrayFeatureProcessor.cpp index e4bb379c6a..febb0b16c5 100644 --- a/Gems/Atom/Feature/Common/Code/Source/Decals/DecalTextureArrayFeatureProcessor.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/Decals/DecalTextureArrayFeatureProcessor.cpp @@ -138,6 +138,10 @@ namespace AZ { m_materialToTextureArrayLookupTable.at(materialAsset).m_useCount++; } + else + { + AZ_Warning("DecalTextureArrayFeatureProcessor", false, "CloneDecal called on a decal with no material set."); + } m_deviceBufferNeedsUpdate = true; } return decal;