#ScriptableObject asset callbacks
1 messages · Page 1 of 1 (latest)
-AssetModificationProcessor.OnWillDeleteAsset would be perfect but. the docs say "don't use AssetDB in the callback"
AssetPostprocessor.OnPostprocessAllAssetswould be great too, but the metadata is no longer in the AssetDB by the time my callback is invoked..ObjectChangeEvents.changesPublisheddoesn't seem to actually send anyObjectChangeKind.Create/DestroyAssetObjectevents (for any type, not juts ScriptableObjects)
The only option i see is maintaining my own metadata outside of the AssetDB, but this feels gross.. any ideas? 🙏