Help with transfer of scripts

I have a project that I work on with a buddy for a couple2-3 months now and we used Unity Version Control to transfer the data. Everything worked fined until now when on my machine everything is normal, but on his machine every single script says on all gameObjects:
“The associated script can not be loaded. Please fix any compile errors and open Prefab Mode and assign a valid script to the Prefab Asset”

If he tries to add any script to any object outside or inside the prefab mode it gives the error:
“Can’t add script component ‘(name_of_script)’ because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match.”

Why does this happened and why on my PC works, but on his does not?

Well, did you check that? Are there any errors in the console?

That is the thing… There are none… And on my PC they work completely fine, but on my buddies PC they don’t work at all. And we have like 20-30 scripts…

The errors may be hidden, the Console has toggle buttons to show/hide errors, warnings and info logs.

Or the project state is not fully synced. You may want to try deleting the Library folder, and if that doesn‘t help, pulling the repository to a new folder.

The weird thing is that on one computer they work completely fine with no errors, and the same scripts on another computer throws errors and does not recognize the script at all

How can I do this?

Close the editor, delete the Library folder inside the project root, wait until deletion is complete, re-open the project.

Sounds like a corrupted prefab. Edit each prefab and make sure you don’t have any “missing script” messages where a component should be. If the GUID of one of your scripts has changed for some reason, it will cause problems with prefabs that use that script.

This worked! Thank you so much!