we are working on a big system with involves procedural generation of a few assets (mainly textures). These don’t need to change at runtime, because it’s a tool for designers (so it needs to run fast in the editor). Right now I am creating everything at the game startup, absed on the settings, but this takes a long time and creates long loading times. Also I can not create cubemap textures at runtime without the editor, which breaks a lot of things.
The best solution would be to bake the data while cooking the game. So my question is: Is there a way to have some event that is triggered during cooking of assets, in which I can bake my data into the Actor in the level?
[Edit] Alternatively an event to hook up to the Build process for Lightmaps.