Fix FB#1057395 for DecalProjector.
m_DecalProjectorComponent.OnMaterialChange -= OnMaterialChange;
}
private void OnDestroy()
{
DestroyImmediate(m_MaterialEditor);
public void OnMaterialChange()
// Update material editor with the new material