First of all, unity answers doesn’t work. I can’t post a question for some reason, it sends me to an error page. So I ask here:
I just started using Unity for the first time. I’m using JavaScript, not C#.
I made an empty project with a floor and a ball. I made a script with only 1 line of code in the “update” function, which should move the ball (using translate).
It says I can’t enter play mode before all of the compiler errors are fixed. I went to the console and it said something about some strange error I didn’t understand.
I searched the web for hours, and couldn’t find an answer. Here’s the error (I censored the folder names):
Could not start compilationWin32Exception: ApplicationName=‘“censor”’, CommandLine=‘“censor\Unity\Editor\Data\Mono\lib\mono\unity\us.exe” @ /UnityTempFile-599702b8ea451d847a35a615661b9c54’, CurrentDirectory=‘censor.’
System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)
System.Diagnostics.Process.Start ()
(wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
UnityEditor.Utils.Program.Start (System.EventHandler exitCallback) (at C:/buildslave/unity/build/Editor/Mono/Utils/Program.cs:44)
UnityEditor.Utils.Program.Start () (at C:/buildslave/unity/build/Editor/Mono/Utils/Program.cs:28)
UnityEditor.Scripting.Compilers.MonoScriptCompilerBase.StartCompiler (BuildTarget target, System.String compiler, System.Collections.Generic.List1 arguments, Boolean setMonoEnvironmentVariables, System.String monodistro) (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/MonoScriptCompilerBase.cs:33) UnityEditor.Scripting.Compilers.MonoScriptCompilerBase.StartCompiler (BuildTarget target, System.String compiler, System.Collections.Generic.List1 arguments) (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/MonoScriptCompilerBase.cs:22)
UnityEditor.Scripting.Compilers.UnityScriptCompiler.StartCompiler () (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/UnityScriptCompiler.cs:58)
UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:40)
If you answer this question, please don’t tell me to reinstall Unity or delete the project, almost everybody I asked told me to do that…