In Unity 5, how does one detect when the user performs a save in the Editor, in order to run a validation script (like checking that certain necessary GameObjects exist)?
This used to be possible with AssetModificationProcessor.OnWillSaveAssets, but it seems to be obsolete now. The documentation page for AssetModificationProcessor says, confusingly:
Obsolete
Use UnityEditor.AssetModificationProcessor