Hello. I am very new to this course and to Unity. I was presented with this error recently and I am not sure how to solve it.
Basically, when I make a C# script, I get this error:
“Internal compiler error. See the console log for more information. output was:error CS2011: Unable to open response file: Temp/UnityTempFile-5bf38a87134476747b03ade17410e0c5”
I do not know how to solve this. I thought it was a problem with me having multiple copies of Unity (even though I made a folder for each of them) so I re installed 4.6.9 and I still get the same error.
I tried opening mono develop, but I only get the main screen. I believe it should take you directly to the script right? I tried searching for where the file should be in the Unity folder but I couldn’t find it. Is there a reason this is happening? Should I stick to the most current version of unity I have and use Visual Studio?
My fault in the wording, I meant to say I opened the script from Unity. When I double click all I get is the default page, doesn’t show my solution or any code.
Is the scene and project you have in Unity saved yet? Have you clicked Run at all within Unity?
It typically opens the project for you, but maybe it hasn’t actually created one yet.
Another thought, if you click Open in MonoDevelop, after launching it from Unity, browse through to the location of your Unity project, what happen then?
I think I may have solved it. So I tried what you said, saved project, ran it, and I go to make it again and i get the same error. But then I tried to open file location in file explorer and it doesn’t load anything, just shows “This PC”, and now I cannot find where my project is located.
I made a new project and redirected it to a new folder, re-did the steps to make the Game scene and the script and I still get the same problem. And when I go to the folder in File Explorer it doesn’t show up.
Then I tried a third time and noticed there were no packages being imported, specifically the scripts package. I wasn’t 100% sure if anything else was needed, so I just checked all the packages and imported them. Everything seems to be running smoothly. No errors and when I double click the script, it opens the solution.
Guess I was so used to the simplicity of the new versions I thought I just had to make a new project. Thanks for the help!