Seemingly random console error, FileNotFoundException: Could Not Find File C:\Project\Assembly-CSharp.csproj

Hello,

This problem started occurring abruptly and seemingly randomly in a fairly simple Unity VR project. Anytime I have the editor open, I get

(attached). I’m using Visual Studio as my IDE. The project still builds and plays with no problems, which really just makes this more confusing. Does anyone have any ideas? Is this likely addon related? The only script heavy addon I have in this project is EasyMovieTexture, but I see a related editor script is mentioned in the error log.

This is a bug in EasyMovieTexture.

See the file “CSProjectFilePostProcessor.cs”. You can see it looks for that file to add a unsafe tag to the project file. But if you do not use external dll’s, that csproj file will not exist, hence the error. Rewrite the code to check if the file exists and the error in the console will be gone.