Half of the files from my project can't be load into unity

I just bought a new HDD disk and transferred my project from my SDD into this new HDD.But after finished transfer,some files just disappeared or corrupted.Thanks to my project management,I use Github to restored my whole project.But unity still can’t load these problem files.The main issues are:

1.Some files are healthy,but it can’t be load:


2.Folders do have content,but unity shows it is empty:


How can i restore my project into normal?Really appreciated!

Did you try erase the library folder ?
Also make sure permissions for the files are set properly.

And i would remove the - in the Script and Scenes folder

Thanks for your help!

Delete the whole library files do solves my problem,really appreciate that.

The little “-” is a project management trick for me.Some plugins can’t work inside the plugin folder and must stay under the asset folder.I don’t know why they do this.So the whole project is in completely mess.But with the “-” character the folder will be sorted on top.After this,the top folder are my frequently used folder and the lower folder don’t need my concern.

1 Like

they have hard coded paths in the code and if you remove the file the code breaks. really annoying. I also have a similar system to push the garbage mess of various folders down in the project panel