This version of Unity is unsupported.

LightEditor.OnDestroy

protected void OnDestroy();

Description

See ScriptableObject.OnDestroy.