For our build pipeline, we require an Editor Coroutine. Unfortunately, during our build process a domain reload is executed. This in turn gets rid of the Coroutine and the process.
Normally the InitializeOnLoad and InitializeOnLoadMethod attributes are invoked after a domain reload. Yet when in batchmode and using -executeMethod, this is not the case.
Why?