This is not really a question, this is an answer for everyone that may have this problem.
(I solved this a minute ago)
It all happened when I was synchronizing my project on a remote server, and opened at the same time the same project in Unity.
When I looked at the scene objects, every script on every GameObject was saying "The associated script cannot be loaded, please fix errors, etc.".
The project seemed corrupted and I thought I had lost a lot of work.
And, I had no errors, the bar at the bottom said nothing even when I tried to change a script.
Everything was fine before.
The first time I opened a script, I got some weird error about the solution being wrong.
Each time I opened the project, I get a "compiling script" progress bar, that stops in the middle, then opens the project.
If I pressed Play, it said I had to fix the errors.
↧