Unity systematically freezes when opening a project

I spent half of the day reading through the forum and did not find a solution to this, or a topic with this exact problem…
On Win 7 pro, Unity 2019 has no problem starting new projects, but when opening existing ones, freezes on the “Compiling assembly definition files scripts”.

Here is the final part of the editor log:


[API Updater] Update finished with success in 246 ms (0/7 assemblie(s) updated).
Assembly Updater Post Process Assets time: 0.826804s
[ScriptCompilation] Recompiling all scripts because: Assembly Definition File(s) changed
- Starting compile Library/ScriptAssemblies/Unity.TextMeshPro.dll
- Starting compile Library/ScriptAssemblies/Unity.Timeline.dll
- Starting compile Library/ScriptAssemblies/Unity.Analytics.DataPrivacy.dll
- Starting compile Library/ScriptAssemblies/Unity.PackageManagerUI.Editor.dll
- Finished compile Library/ScriptAssemblies/Unity.Timeline.dll
- Finished compile Library/ScriptAssemblies/Unity.Analytics.DataPrivacy.dll
- Starting compile Library/ScriptAssemblies/Unity.Timeline.Editor.dll
- Starting compile Library/ScriptAssemblies/Unity.CollabProxy.Editor.dll
- Finished compile Library/ScriptAssemblies/Unity.TextMeshPro.dll
- Starting compile Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll
- Finished compile Library/ScriptAssemblies/Unity.CollabProxy.Editor.dll
- Finished compile Library/ScriptAssemblies/Unity.Timeline.Editor.dll
- Finished compile Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll

Any idea why this could be happening…?

Are these existing projects saved with the same Unity version, or are you moving to a new Unity version? How large are these projects, how long are you leaving Unity along, and are you seeing Unity using the CPU when you believe it is frozen? Also, how up to date is your computer hardware?

For example, if I open a moderately sized project on my laptop in a new Unity version, I generally expect it to sit and twiddle its thumbs for about an hour. About half that on my much faster desktop, and maybe considerably longer than an hour on my previous desktop I used to use.

If Unity freezes on one specific project, sometimes deleting auto-generated files can help (but always make a backup first). I think all you need to keep are the folders: Assets, Packages, and ProjectSettings.

But if it’s ALL existing projects, that’s probably not the issue. To clarify: if you make a new (blank) project, save it, quit, and then try to load the blank project you just saved, does it still get stuck?

1 Like

Hello, I tried your method but It didn’t solve it. It just keeps loading the project and stuck on LoadScriptting Assemblies.
I tried to open other projects and also make a new one to check and it worked fine for other projects. Can you Please give another solution that works?
7465253--916733--upload_2021-9-1_16-55-26.png

7465253--916733--upload_2021-9-1_16-55-26.png