The Beta and now 2022.1.0f1 has got me waiting more on my code and imports than any (non-broken) Unity version before.
It is quite aggravating. Recompiles are MUCH slower because after the Domain has been Reloaded (Domain Reloads, too, need to please stop being a thing before Unity 2023) there is ANOTHER 3-10 second phase of… something.
Like, waiting for a repaint event? That should be milliseconds, not seconds. What is going ON?
This is a near-empty project (I am putting together some of my library things for a new game jam template)… I deleted a script in a practically empty project.
untidygloriousdartfrog
As they move more and more code to C# and more stuff gets stuffed in packages, iteration speed will continue the current trend of getting slower and slower per yearly release.
You say it’s an empty project, but I bet there are a whole bunch of packages installed. Start removing packages you don’t need all that much and see if that helps things.
Don’t worry, almost every forum board now has stickied threads about this problem for you to read while you’re waiting.
It might not fix the issue, but at least you’ll have something read!
Not only that but if you google there are probably THOUSANDS more threads to read. Before long, your domain will be reloaded and it will be like you never even waited!
About the fastest way I have found to make a project and avoid all this noise is to create the project, then as soon as you see the files appear, FORCE-STOP (hard-kill) Unity (with the Activity Manager or Task Manager), then go hand-edit the Packages/manifest.json file as outlined in the above post, then reopen Unity.
Sometimes the package system gets borked from all this unnecessary churn and requires the package cache to be cleared: