(I've searched and scanned through Answers, the Forum and googled about without luck finding a solution to this yet, but it's possible that I'm missing a key term or such to address this issue. Any help is greatly appreciated)
When developing a ScriptableWizard to batch bake several scenes asynchronously in series, there seems to be an update issue; specifically, baking ~19 scenes in sequence (each taking 20-30mins) overnight seems to stall (but will resume when I log-in in the morning and give Unity focus).
As far as I could determine, Unity/beast's activity was not preventing the Mac from going to sleep. So, last night I ran the batch bake while a bash shell was open, running "pmset noidle". Unfortunately, this did not resolve the issue. I notice that when Unity does not have focus, it does not issue repaint commands (at least to the Wizard, which 'disappears' when focus is lost), and seems to suspend most execution. Is there a way to keep certain parts of Unity active? Perhaps, spawn threads which are guaranteed to not suspend, from within the JS/C# APIs? If not, is there another workaround (or entirely different approach)for this issue?
Any constructive help is welcomed, Thanks -D