Stuck on Initial Asset Database Refresh

Hello,

In the last couple of weeks my unity projects have been stuck for long periods of time during each launch. The window displayed while loading is titled “Importing - Importing…” and below the halted progress bar it says “Initial Asset Database Refresh”.

Sometimes this process takes around 30 minutes to complete and sometimes it stops responding entirely. I’m not sure what is causing the issue but it’s been seriously disrupting my use of the engine.

Some additional information that might be important is that during January my friend tried to help me setup a GitHub repository for one of my projects. To do so she downloaded VSCode and switched that to my defualt external editor. She also messed aorund with some of the files and downloaded VSCode plugins. VSCode seemed to succesfully connect my project to GitHub but the intellisense was no longer working which was a real problem. I have not been able to resolve that issue either so I was trying to revert back to Visual Studio and give up on GitHub.

Any help would be very appreciated. I miss coding. Thank you.

9639497--1370468--Screenshot 2024-02-12 at 1.07.07 PM.png

When the projects open, they have the following compilation errors:

Library/PackageCache/com.unity.timeline@1.6.5/Editor/Window/TimelineWindow_Breadcrumbs.cs(19,16): error CS0246: The type or namespace name ‘TitleMode’ could not be found (are you missing a using directive or an assembly reference?)

Library/PackageCache/com.unity.timeline@1.6.5/Editor/Window/TimelineWindow_Breadcrumbs.cs(17,14): error CS0246: The type or namespace name ‘BreadCrumbTitle’ could not be found (are you missing a using directive or an assembly reference?)

Unloading broken assembly Library/ScriptAssemblies/Unity.Rider.Editor.dll, this assembly can cause crashes in the runtime

Assertion failed on expression: ‘res’

Unknown error occurred while loading ‘Library/Artifacts/9c/9c98e7cebcfcde25f7043bfaecbadb05’.