Tiny delay when maximizing Unity window from background

Disclaimer: I tend to deal with the small, minute and unimportant things in life. My wife tells me the same sometimes…

I have 2019.3f1 installed on my (Windows 10.1) laptop. I’ve got a new project loaded, and whenever i minimize the window, then later return to it (from the taskbar icon), there seems to be a teeny tiny micro delay (probably around 0.5 second long).

I don’t think a video capture could really illustrate this. but it’s there.
Also tried comparing this behaviour to other apps on my laptop (Sublime text, Visual studio 2019).

There’s definitely a small delay.

Other interesting bits:

  1. I opened 2019.2.0f1 – looks like it has the same problem.
  2. Another project on 2018.4.1f1 doesn’t have this.
  3. Yet another project that uses 5.6.0f1 also doesn’t have this.

Did anyone else experience this? again, it’s subtle, but still perceptible :slight_smile:

is it same as this?

Who knows, sounds like something similar.

I used an empty project (as always) to play around with new versions, so there are very little assets in there.

It might not be the same thing as the micro-delay I’ve seen plaguing 2019.3 where “something” is compelled to refresh itself every time I tab back into Unity (even if nothing on disk has changed, literally tab out and tab back in can cause it). I just downgraded to 2019.2 because of the massive problems with the 2019.3 betas/0f1 build, and it’s butter smooth on the same project.

I think those two issues are related. I’ve also noticed unity likes to freeze for half a second when tabbing back to it, and maximizing it would probably do the same thing. I’m not sure why it does that since it does it even when assets have not been modified

1 Like

I’ve noticed that too and bugs the hell out of me. And it doesn’t seem to be related to project size or Unity version (I’m on 2019.2.14, but this goes far back for years).

Weirdly, if I create a new empty project the small delay on alt-tabbing is there from the very begining, but projects created from LWRP template work fine for example. At least for a while…

And then, once it’s there, there’s no way (at least it seems so) to get rid of it. I’ve tried reimporting all assets, manually deleting everything in the project folder (except assets, packages and project settigs) including the hidden VisualStudio data (i think from memory the folder is called .vs or similar), but the damn 0.5 - 1s freeze is there.

2 Likes

I just updated our project to 2019.3.0f1 with the new asset db and we’ve found that the asset refresh that occurs when auto-refresh is on and context switching is quite slow. By slow I mean 300-500ms. It’s not a show stopper but it happens many times a minute as one tabs between applications. In 2019.2 there was practically zero lag.
Editor log:

2 Likes

A fix for this regression went into f5.