Thanks very much for implementing pre/post export methods! I have a question about the timing around these methods. Does export kick off immediately once the pre- method has completed? Also, does the Unity process get terminated immediately after the post- method completes?
The reason I’m asking is because I’d like to communicate with a web server as part of a custom pre or post-build step (building and then uploading some asset bundles). This would involve HTTP, and I’m not aware of any blocking interface to that in Unity.
I already have a solution for making HTTP calls in the editor that involves an ‘EditorCoroutine’ wrapper to run IEnumerators in a similar fashion to StartCoroutine(). I figure this route will cause issues though, unless there’s a way I can signal that I’ve finished my work some time after the initial pre-export method call completes.
Any ideas how I might be able to pull this one off? ![]()