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:
while(!_isDone)
{
Thread.Sleep(100);
}
EditorApplication.Exit(0);
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?