Unity An asset is marked with HideFlags.DontSave but is included in
the buil
找到被标记的shader或其他什么,运行下代码,清除下标记就好,否则无法build
(证明 复制粘贴也要动脑的😂)
m_WireMaterial = new Material(Shader.Find("Unlit/CustomWireframeWithTex"));
m_WireMaterial.hideFlags = HideFlags.None;
m_WireMaterial.shader.hideFlags = HideFlags.None;