diff --git a/GameData/ConformalDecals/Plugins/ConformalDecals.dll b/GameData/ConformalDecals/Plugins/ConformalDecals.dll index aca4399..ff5f0d4 100644 Binary files a/GameData/ConformalDecals/Plugins/ConformalDecals.dll and b/GameData/ConformalDecals/Plugins/ConformalDecals.dll differ diff --git a/Source/ConformalDecals/MaterialProperties/MaterialTextureProperty.cs b/Source/ConformalDecals/MaterialProperties/MaterialTextureProperty.cs index 6766f3b..cfd018b 100644 --- a/Source/ConformalDecals/MaterialProperties/MaterialTextureProperty.cs +++ b/Source/ConformalDecals/MaterialProperties/MaterialTextureProperty.cs @@ -67,8 +67,7 @@ namespace ConformalDecals.MaterialProperties { public override void Modify(Material material) { if (material == null) throw new ArgumentNullException(nameof(material)); if (_texture == null) { - _texture = Texture2D.whiteTexture; - throw new NullReferenceException("texture is null, but should not be"); + _texture = isNormal ? DecalConfig.BlankNormal : Texture2D.whiteTexture; } material.SetTexture(_propertyID, _texture);