- Home /
How I get the Unity editor to take less time coming back after losing focus?
When I'm working on a client/server app, I have to switch back and forth between the Unity editor - minimizing/maximizing, alt-tabbing, etc. Every time I want to get back intot he Unity editor, it seriously takes 30s to 2min. How can I shorten this time I can alt-tab more freely?
Is this switching between Unity and any other program? I've never had a problem. Sounds like someone is sucking memory and moving Unity to disk virtual memory.
While outside the Editor, do you modify the files inside the Unity project? Doing that will cause Unity to rebuild its library (or at least parts of it) and will take some time.
It's every time Unity loses focus, on my work PC or home. XP and W7. Even if I don't modify a single file, e.g. I alt+tab to an EXE of the game, hit 1 button, then immediately alt+tab back, it takes 30 seconds. If I do something else for a longer period of time, it takes a $$anonymous$$ute ins$$anonymous$$d.
Answer by StephanM · Jan 27, 2014 at 02:46 PM
It turns out to be the fact that I had the project on a USB drive. If I copy it to the HD and open it from there, it runs just fine, even if I have Unity/MonoDevelop running from the USB drive.