Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Dalton Gray · Sep 29, 2010 at 12:09 AM · exceptionwin32exception

Compiler Failed

I keep getting this compiler error every time I run unity. It was happening in 2.6, so I decided to install 3, and it is still giving me these 2 compiler errors at start up.

Compilation failed because the compiler couldn't be executed!

and

Could not start compilationWin32Exception: ApplicationName='"C:/Users/user1/Desktop/Tyler's Stuff/Unity/Editor/Data/Mono\bin\mono.exe"', CommandLine='"C:/Users/user1/Desktop/Tyler's Stuff/Unity/Editor/Data/Mono\lib/mono/unity\smcs.exe" @Temp/UnityTempFile-80df6f864853a6343a359099d829c0da', CurrentDirectory='C:/Users/user1/Desktop/Tyler's Stuff/Unity3D Games/Unity 3 Testing/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 E:/BuildAgent/work/68355d6e5d19d587/Editor/Mono/Utils/Program.cs:35) UnityEditor.Scripting.Compilers.ScriptCompilerBase.StartCompiler (BuildTarget target, CompatibilityLevel compatibilityLevel, System.String compiler, System.Collections.Generic.List`1 arguments) (at E:/BuildAgent/work/68355d6e5d19d587/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:65) UnityEditor.Scripting.Compilers.CSharpCompiler.StartCompiler () (at E:/BuildAgent/work/68355d6e5d19d587/Editor/Mono/Scripting/Compilers/CSharpCompiler.cs:31) UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at E:/BuildAgent/work/68355d6e5d19d587/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:37)

It's never given me this problem before.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by MortenK84 · Sep 29, 2010 at 08:25 AM

Try uninstalling all versions of Unity and then re-installing.

It also looks like you've installed Unity on the desktop. You might want to try installing it in the usual program files folder instead.

I haven't encountered the problem myself, but I think it's definitely worth a shot to do a complete uninstall and then re-install. The paths to the compiler might have become messed up somehow.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by novo · Nov 01, 2010 at 05:16 PM

I was getting the same error ("compiler couldn't be executed"). Reinstalling Unity didn't work, but regenerating some assets (e.g. terrain) and reimporting all assets did the trick.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by hoy_smallfry · Mar 19, 2015 at 05:52 PM

We recently ran into this error code in version 4.6.3f1 as well, and we found a solution.

It was one of our artists' Windows machine and his C:\ drive was at capacity, so he installed Unity on D:\ instead. He also installed Unity 5.0.0f4 on his D:\, but that seemed to be working fine.

He found this post and reinstalled but still got this error. I suggested that he install it on C:\ instead. It works now.

TDLR; Could be an assumption somewhere about C:\ that's been resolved in Unity 5.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Compile error 2 Answers

Substitute for compiler 3 Answers

NullReferenceException help 1 Answer

IgnoreCollisions Exception 2 Answers

Missing Component Exception Error 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges