Does EditorApplication.update get called in -batchmode when calling -executeMethod?

I’m experimenting with trying to get PlayFab’s API helpers to work within batch mode for a build script.

It seems its internal HTTP calls rely on Update() to be called to dispatch changes. This presents a challenge as Update() does not get called within -batchmode -executeMethod mode.

To delay the editor application’s exit, I currently use:


One option would be to try to bind EditorApplication.update to call the HTTP client’s Update method.

Does EditorApplication.update get called within batchmode/executeMethod?

I had the same question as you can ran a test. As far as I can tell, EditorApplication.update does in fact get called when running in batchmode with executeMethod. (As of Unity 2018.2)