Preprocessing and postprocessing asstes in Addressables

Hi all! I have two questions:

  1. I need preprocess some assets before they was builded to asset groups. For example clean it up prefabs from some components or fill some fields in scriptable objects. How I can achive this?
  2. I need postprocess some scribtable objects when its was loaded with bundles. Even if it loaded with scene, or as dependency for other bundle. I need do DI processing some types assets when its “arrived”. Yes, I can do it on Awake or OnEnable methods, but its not correct DI way… I want do it from “outside”.

Bump, is there something like this in the current version or are there any plans to add custom build stages when bundling assets?

I’m also looking for something to add/remove components from prefabs before building (use case: EditorOnly tag only works for objects in the scene, but aren’t stripped from prefabs, maybe with a custom addressables step I’d be able to strip certain prefabs from the EditorOnly children.)