- Home /
Compilation failed because the compiler couldn't be executed! ?
So...i have this error:
Could not start compilationWin32Exception: ApplicationName='"C:/some ol' bullshit/Unity/Editor/Data/Mono\bin\mono.exe"', CommandLine='"C:/some ol' bullshit/Unity/Editor/Data/Mono\lib/mono/unity\us.exe" @Temp/UnityTempFile-8b6d38ce953ed214eb25be1907023d9a', CurrentDirectory='C:/some ol' bullshit/Unity/PWAPG2/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/b0bcff80449a48aa/Editor/Mono/Utils/Program.cs:30) UnityEditor.Scripting.Compilers.ScriptCompilerBase.StartCompiler (BuildTarget target, System.String compiler, System.Collections.Generic.List`1 arguments) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:71) UnityEditor.Scripting.Compilers.UnityScriptCompiler.StartCompiler () (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/Scripting/Compilers/UnityScriptCompiler.cs:57) UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:39)
And this warning after it:
Compilation failed because the compiler couldn't be executed!
I tried restarting,uninstalling,installing but nothing. My old project work but if i want to make a new one it won't work. I've noticed that if i delete the standard assets folder the error disappeares but if i import it again(the character controller package) the error comes back.
Any solutions please? I would appreciate a solution that doesn't involve installing windows again.
Sort of solved: I installed Unity 2.6: new projects can be made but older ones are doomed
Answer by Graham-Dunnett · Apr 16, 2012 at 10:17 AM
I think having Unity installed into a folder that contains a ' character is causing this problem.
it worked before, if it lets me put the character it will work
i think i may be right...i deleted ALL that was with unity(monodevelop,the web player, example project, registries) than installed it in program files and now it works