I renamed `Assets/Scripts/MyScript.cs` to `Assets/Scripts/NewName.cs` and now I get a persistent error message even when I reload my project:
Assertion failed: Removing Assets/Scripts/MyScript.cs because the asset does not exist
I don't understand. It's clearly not removing anything because if it was then it would be removed and I'd be done with it. It seems there was some reference to that old file name in some Unity project file and now my whole project is corrupt because of it. Is there any way for me to fix this? Unity generates so many files for my project that I wouldn't even know where to start looking.
EDIT: I've discovered that the problem is that MyScript.cs.meta still exists, but the file is corrupted in such a way that I cannot delete it. I provide administrator permission and it says I still need permission. I go into the security properties and it says I can't change any of them. I'm on Windows 8.1.
↧