diff --git a/PostProcessing/Runtime/Utils/PropertySheetFactory.cs b/PostProcessing/Runtime/Utils/PropertySheetFactory.cs index b707009c..6557ed51 100644 --- a/PostProcessing/Runtime/Utils/PropertySheetFactory.cs +++ b/PostProcessing/Runtime/Utils/PropertySheetFactory.cs @@ -54,7 +54,7 @@ public PropertySheet Get(Shader shader) PropertySheet sheet; if (shader == null) - throw new ArgumentException(string.Format("Invalid shader ({0})", shader)); + throw new ArgumentException("Shader cannot be null."); if (m_Sheets.TryGetValue(shader, out sheet)) return sheet;