This is an edit in case a search brings you here (if you are experiencing the same issue). Firstly, don’t panic, very often the case is that one of your scripts (or more) has an error. If you save unity and exit with a faulty script… The next loading will present you with all scripts having a missing link…
Correct the scripts in monoDevelp (or your editor of choice) and the problem will resolve. You don’t need to drag any scripts around, it will magically right itself…
If you are unsure what script is causing the trouble, look at the bottom of unity and you should see an error… This should lead you to the trouble causing script… To quickly check if this is the case, edit the relevant script and comment them whole thing out… Save it, go back to unity and see if the problem has been solved
This has worked for me… Start doing this to the last script you were working on, then the next etc…
Good luck! And this is probably not the ONLY reason for a fault like this, but for me, it has been twice, if not three times now.
Below is the Original post
//===========================================================
I have just fired up unity for this evenings session, only I have a strange problem. All of my scripts are expressing an error in the inspector, all of the object references have gone and a message reads as follows:
“The associated script can not be loaded. Please fix all compile errors and assign a valid script”
What has happened? The build was running fine last night and all of my scripts are still there, I can open and edit them as per normal in monoDevelop. I have tried exiting and reloading and the same instance occurred?
Mind boggled…