- Home /
Unity wont enter play mode - compiler errors?
i just upgraded unity from 3.5 to 4.0.1, and im having trouble with the errors:
Compilation failed because the compiler couldn't be executed!
as well as:
Could not start compilationWin32Exception: ApplicationName='"C:/Users/Humera/Desktop/Sarim's/Unity4/Unity/Editor/Data/Mono\bin\mono.exe"', CommandLine='"C:/Users/Humera/Desktop/Sarim's/Unity4/Unity/Editor/Data/Mono\lib/mono/unity\smcs.exe" @Temp/UnityTempFile-58d308bf8e49c6c40b59ff25a9503d5e', CurrentDirectory='C:/Users/Humera/Documents/New Unity Project/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/7535de4ca26c26ac/Editor/Mono/Utils/Program.cs:30)
UnityEditor.Scripting.Compilers.MonoScriptCompilerBase.StartCompiler (BuildTarget target, System.String compiler, System.Collections.Generic.List`1 arguments, Boolean setMonoEnvironmentVariables) (at C:/BuildAgent/work/7535de4ca26c26ac/Editor/Mono/Scripting/Compilers/MonoScriptCompilerBase.cs:32)
UnityEditor.Scripting.Compilers.MonoScriptCompilerBase.StartCompiler (BuildTarget target, System.String compiler, System.Collections.Generic.List`1 arguments) (at C:/BuildAgent/work/7535de4ca26c26ac/Editor/Mono/Scripting/Compilers/MonoScriptCompilerBase.cs:20)
UnityEditor.Scripting.Compilers.MonoCSharpCompiler.StartCompiler () (at C:/BuildAgent/work/7535de4ca26c26ac/Editor/Mono/Scripting/Compilers/MonoCSharpCompiler.cs:35)
UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/BuildAgent/work/7535de4ca26c26ac/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:40)
i have no idea why these errors just popped up, although they happened after i moved my project onto my usb. since then ive moved it back but im still getting these errors. i have already tried;
restarting unity
reimporting all assets
looking for empty scripts and deleteing them
correcting the path file sown in the first error (getting rid of spaces)
and lastly ive tried to start a new project and reimport all assets.
all of the assets are fine, because unity was perfectly fine before. i didnt add anything or delete anything from the project folder and now its acting up. i coudn't find anything on the internet or the other answers here b/c the errors are slightly different and more in number, and none of their solutions work. any solution which i havent listed above is worth a shot, but re-installing unity is a last ditch effort for me. any help? suggestions? maybe anyone else who has had similar problem could say how they fixed it or what they tried?
was the project originally in 3.5? are you able to open and run the sample project that comes with Unity 4 ?
the project is "paradox" - its originally 4.0.1, and i dont know of a sample project, but ill look for it. another thing to note is that the errors have nothing to do with the content in unity.