- Home /
Problem with OSX/Unity during long bake series (bug? workaround?)
(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
Your answer
Follow this Question
Related Questions
Can someone help me fix my Javascript for Flickering Light? 6 Answers
Setting Scroll View Width GUILayout 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
function Update in edit mode 2 Answers
Sequence of function Calls 2 Answers