Unity Engine documentationScript ReferenceUnityEditorShaderMessagefileThe source file where the shader message was found.Read time 1 minuteLast updated 2 months agoDefinition Type: Property Namespace: UnityEditor Assembly: UnityEditor public readonly string file { get; }