Hi everyone,
I’m just starting to get into Unity, but I keep running into a problem every time I try to write a script. This happens when I create any script file in any project, old or new. It happens as soon as I create the file, and have not written a line of code within it yet. And before people say it, yes the class name and the file name match and this still occurs. I have not been able to get a single original script applied to an object because of this, though the basic ones like rigidbody do work when applied to an object.
I’m using Unity 2020.2.1f1
My research online has found that maybe this is because there is an apostrophe in the directory somewhere, but I have no idea where that might be or what people are talking about when they mention this.
So, the error I get is as follows
Win32Exception: ApplicationName=‘C:\Program Files\Unity\Editor\Data\Tools\RoslynScripts\unity_csc.bat’, CommandLine=‘/noconfig @ /UnityTempFile-af84a900788613a409d2877307319c2b’, CurrentDirectory=‘’, Native error= The system cannot find the file specified.
The rest of the error message can be found here, since I don’t want to clog up the post with it System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessSta - Pastebin.com
I’m happy to provide any other information you want, just let me know!
Thanks!