Very long script compile times and Application.Reload on play, out of nowhere.

Hi all, and thanks for any help. My Unity has suddenly begun taking minutes to compile scripts, as well as getting pretty suck on Application.Reload sometimes for no reason. Wondering if anybody has had this issue before. Unity Editor v2020.3.26f1

I can’t imagine my assembly setup is to blame, everything was completely fine yesterday. I was editing scripts, saving scripts, playing, un-playing all at lightning speed. I have not imported anything large or noteworthy, changed anything major, or fiddled with any important settings or the assembly setup. I have always used the default assembly with no issues for about 2 years probably now. My friend, who works on this project also, has no issues like this on his machine.

It’s worth mentioning some important things to give more info:

  1. This happened for a day about a week ago also, then it ‘magically’ resolved itself and I have no idea why. So it went from broken/un-useable - > perfect for a week - > now it seems like it’s doing it again on/off daily. Random.
  2. I also noticed at one point when it was very slow that it was using twice the memory in Task Manager that it normally does when I have the project open. When it says busy for…, Task Manager reports that Unity is ‘Not Responding’ for a period of time until it finally finishes what it’s doing ages later.
  3. Sometimes when I turn on my computer, open Unity Hub, and click on my project (clicking ONCE), a dialog will come up saying that the project is already open, and I started noticing this around the time I began having problems. I find this bizarre, and wonder if it’s related somehow.
  4. When I have the project open, the memory usage of the program seems wild and un-predictable. It ranges from 1GB to 3GB when not in play mode when I check how much it’s using in Task Manager.
  5. Sometimes I see multiple Unity Editor processes in Task Manager, sometimes I only see one. (see attached img). Is this normal? :eyes:

Any ideas? Thanks again

I’ve had a similar experience as well- a few days ago my project started taking upwards of a minute, stuck on ‘Application.Reload’ when going into play mode.
The odd thing is that I can press play, it will start right up, stop the game, press play again (starts right up), stop the game, but then if I press play after that, I may randomly get hit with a long Application.Reload message.
Note that I don’t make ANY changes between stopping the game and pressing play again- the code and project are IDENTICAL between runs as far as I know.

Yes, this is very important, and same. I can play, and unplay, without making any edits to anything, and 1/5 times it will take 2 minutes, the other 4 times its pretty much instant. So it’s not just me

Interested to know if it’s still happening for you @NimbleSprite . I haven’t had it happen for the past 2 days… again, nothing I’ve done since my post is out of the ordinary.
Color me baffled…

It seems more rare now, maybe still once in a while but pretty good so far