Compiler Error // Novice // Have Checked FAQ

Hello All,

I’ve recently discovered Unity and I’m really interested by it. I dived in and decided to start learning with the Unity ‘Roll-a-Ball’ tutorial. However, when I create a new Script from within the Inspector of the Game Object (The Sphere now known as “Player”) - I get the dreaded Compiler Error. I’ve seen tons of posts on various Compiler Errors and most of which seem to be code issues, but as I’ve not introduced any code other than the creation of the new Script file and attached it to the Game Object… I’m a little lost as to why this happens?

Could not start compilationWin32Exception: ApplicationName=‘“C:/Program Files (x86)/Unity/Editor/Data/Mono\bin\mono.exe”’, CommandLine=‘“C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\smcs.exe” @ /UnityTempFile-d62265477fdb4e34082bfc205e49b2d6’, CurrentDirectory=‘C:/Users/toddb_000/Documents/New Unity Project 3/Assets/…’
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 () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Utils/Program.cs:33)
UnityEditor.Scripting.Compilers.MonoScriptCompilerBase.StartCompiler (BuildTarget target, System.String compiler, System.Collections.Generic.List1 arguments, Boolean setMonoEnvironmentVariables) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/MonoScriptCompilerBase.cs:32) UnityEditor.Scripting.Compilers.MonoScriptCompilerBase.StartCompiler (BuildTarget target, System.String compiler, System.Collections.Generic.List1 arguments) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/MonoScriptCompilerBase.cs:20)
UnityEditor.Scripting.Compilers.MonoCSharpCompiler.StartCompiler () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/MonoCSharpCompiler.cs:48)
UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:60)
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEditor.DockArea:OnGUI()

I am a complete novice but I’m ‘hopefully’ intelligent enough to understand what you might suggest as repairs for this. Your help and patience is really appreciated and I hope one day I’ll be able to give back to the community.

All the best.

Nobody to help a guy out yet? I’ll keep trying things for now. :frowning:

Looks like something is messed up.

I’ve totally no idea what could cause this but i searched a bit:

  • check if any security software blocks the program (especially norton security, maybe you got that?!)
  • remove it completely from your computer and reinstall it, leave the directory paths as they are

Hopefully someone else who understands these kinds of errors will have a look at this thread soon.

Could you post editor.log? Also, you could try running mono.exe manually, and see whether it doesn’t fail over something silly (just verify it actually starts, if you run it without any arguments, it should print its “usage”.