Search Unity

Slow refresh when refocusing on Unity

Discussion in 'Editor & General Support' started by GenghisMike, Sep 4, 2015.

  1. GenghisMike

    GenghisMike

    Joined:
    May 25, 2014
    Posts:
    10
    I'm not sure if anyone else is having this problem, but it's fixin' to have me launch my computer out a window.

    Every time I switch focus from another program back to Unity, Unity hesitates, then the hourglass shows up ... theeeeen more hesitating, THEN, finally, I have control of Unity again. This process takes about two minutes. That might not seem too long, but it's EVERY blessed time I use another program ... and I'm always using a web browser to find code snippets.

    Unity 4 didn't do this. It only started with Unity 5.

    Any idea what might be going on? Maybe a sniff out to the web, maybe a kooky 3D redraw? What ever it is, I've got to fix it. I'm going mad.

    Thanks in advance!

    Windows 10
    Unity 5.1.2f1 Pro
     
  2. Aurore

    Aurore

    Director of Real-Time Learning

    Joined:
    Aug 1, 2012
    Posts:
    3,106
    Did this occur before using Windows 10? Does it occur in a new project & have you tried the latest version of Unity 5.1.3 or even the 5.2 Unity beta (since you're Pro) and see if it's still happening there. Have you also looked at the task manager to see how much memory Unity is using?
     
  3. GenghisMike

    GenghisMike

    Joined:
    May 25, 2014
    Posts:
    10
    Hey, Aurore ... thanks for the reply.

    When I used Unity 4, I was on Windows 7. So, I can't say that it's Unity 5.1 on Windows 10 OR just Windows 10 by itself.

    When I flip back to Unity, the Task Manger doesn't spike. It reports Unity as "Not Responding" with 2% CPU and 160M of memory.

    I'm downloading and installing 5.2b right now. I'll report back with findings.
     
  4. GenghisMike

    GenghisMike

    Joined:
    May 25, 2014
    Posts:
    10
    Aurore, I installed 5.2.0f and it appears to behave in the exact same way. Still slow focusing back on Unity.

    It's killing me ...
     
  5. GenghisMike

    GenghisMike

    Joined:
    May 25, 2014
    Posts:
    10
    I found it!

    The project files were stored on a centralized server. I was connecting directly to the files on the server ... not my local machine.

    I moved the files to my local machine and BINGO BANGO ... super fast!
     
    Aurore likes this.
  6. Aurore

    Aurore

    Director of Real-Time Learning

    Joined:
    Aug 1, 2012
    Posts:
    3,106
    Aha, glad it's been sorted!
     
  7. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Hi,

    I have a similar issue when I modify a script.... And my computer is a Mac Pro quad core with 32go of ram... :(
     
  8. Aurore

    Aurore

    Director of Real-Time Learning

    Joined:
    Aug 1, 2012
    Posts:
    3,106
    What have you done to try and narrow down the issue?
     
  9. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    I still have this issue, looking for a solution
     
  10. Aurore

    Aurore

    Director of Real-Time Learning

    Joined:
    Aug 1, 2012
    Posts:
    3,106
    What version of Unity are you using? Have you looked at the activity monitor?
     
  11. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    5.2

    Good point , 99,9% of the processor use by "Mono"

    How is it possible with my config?
     
    Last edited: Sep 16, 2015