When I go to save a script I get the following error:
Loading script assembly “Library/ScriptAssemblies/Assembly - CSharp - Editor.dll” failed!
What does this mean and how to I fix? This happened yesterday but cleared up after several restarts of Unity. The one today began after trying to save a script Unity became unresponsive and I had to force quite.
I no longer have the problem, but I am still interested in what is causing it. The fix this time was:
Rename the “Editor” folder from within the Unity Project inspector
Open and try to save a script
Get the UnityEditor namespace error
Rename the “Editor” folder back to “Editor” from within the Unity Project Inspector
Then I could save the script and have it compile. Note: this was not an Editor script, just a Plain Jane MonoBehavior script.
Marble
August 11, 2006, 5:51am
3
I believe this is a known bug.
Reimporting one of the editor scripts fixes it for me (control click it and choose Reimport from the menu).
I believe this will be fixed in 1.5.1.
Thank you for the responses It is good Otee already is on this one, whatever it is.