I have some objects that in edit mode OnValidate add themselves to a list in my level manager, and in OnDestroy remove themselves from the list. This works great, but when I swap a prefab instance using the field on the instance inspector (or via the right click menu in the hierarchy), OnDestroy is not called, leaving behind a null item in the list.
Is there an editor function or event that will tell me when this replace happens?