• 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
2
Question by Jarrod_Walker · Sep 24, 2011 at 02:39 AM · errorcompilercompiler error

Compiler Errors

I was just trying to create terrain in unity and i imported an asset

I tried to press play but then "All compiler errors have to be fixed before you can enter playmode!" came up

There are 2 errors in the console now they read:

Could not start compilationWin32Exception: ApplicationName='"C:/Users/family/Jarrod's Stuff/Editor/Data/Mono\bin\mono.exe"', CommandLine='"C:/Users/family/Jarrod's Stuff/Editor/Data/Mono\lib/mono/unity\smcs.exe" @Temp/UnityTempFile-8fa0934a97958254da05a6137aa8388c', CurrentDirectory='C:/Users/family/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/842f9557127e852/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/842f9557127e852/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:71) UnityEditor.Scripting.Compilers.CSharpCompiler.StartCompiler () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/Scripting/Compilers/CSharpCompiler.cs:31) UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:39)

And also:

Compilation failed because the compiler couldn't be executed!

Please help because I have to use Unity for a massive project and I can't fix this.

Comment
Add comment · Show 7
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 SilverTabby · Sep 24, 2011 at 02:53 AM 0
Share

Is this problem new and have you been working on a project for some time or is this early in the development of your project?

What was the asset you were trying to import? Is it a standard asset of a custom made one?

From what I can gather from the error message, it sounds like Unity was looking for a file named

 unitysmcs.exe

at file location

   C:/Users/family/Jarrod's Stuff/Editor/Data/$$anonymous$$onolib/mono/

but the file it was looking for either failed to open or does not exist.

Another file that might not be working:

 C:/Users/family/Jarrod's Stuff/Editor/Data/$$anonymous$$onobinmono.exe

Is there a file named unitysmcs.exe on your computer in the specified location? Does the file $$anonymous$$onobinmono.exe exist in the other location?

Try removing the asset you imported right before the problem started. Does that change anything?

avatar image Jarrod_Walker · Sep 24, 2011 at 05:37 AM 0
Share

I tried removing the asset and the error "Compilation failed because the compiler couldn't be executed!" has disapeared but the other one is still there. I have searched for the file and it is non-existant. Any other suggestions would be helpful. Thank you.

avatar image Jarrod_Walker · Sep 28, 2011 at 03:07 AM 0
Share

Turns out what I said didn't work. I've found out what the problem is because it keeps co$$anonymous$$g back, but i don't know how to fix it

The problem is that any time i try to import a character controller ,or something like that, the error comes back.

I have no idea how to fix this so please help or my project is doomed!!

avatar image SilverTabby · Sep 28, 2011 at 03:26 AM 0
Share

A third thing you can try is create a brand new, blank project, then copy your assets folder over to the new project, then see if that changes anything. The assets are what make the project, so copying only the assets should create a second project that is identical to the first.

If that doesn't help, then it sounds like something a clean install will fix. You project should be safe - it is a completely separate folder from the Unity install.

Another thing you can try, if you don't want to reinstall on your current computer, is to find/create a second computer with Unity on it. Copy over your entire project folder, and see if opening it there changes anything.

avatar image Jarrod_Walker · Sep 28, 2011 at 10:04 AM 0
Share

I have tried uninstalling and reinstalling Unity and this did not work.

I have also tried making a new project, but before the assets are copied the error is already there.

I cannot do the final thing you suggested because i do not have another computer on the same format as the one I am on.

avatar image Graham-Dunnett ♦♦ · Sep 28, 2011 at 09:48 PM 0
Share

Something looks odd here. I think Unity is actually looking for .../$$anonymous$$ono/bin/mono.exe and .../$$anonymous$$ono/lib/mono/unity/smcs.exe. So you console output is missing some slash characters. I can't tell whether it's the console or the cut and paste that is missing these characters. Can you let us know, at least, if you have those exes in those folders.

avatar image Jarrod_Walker · Oct 14, 2011 at 05:31 AM 0
Share

Don't Worry I was able to fix it.

Thanks for your help everyone

0 Replies

· Add your reply
  • Sort: 

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Help! Compiler Error! 1 Answer

Why do I have 374 compiler errors? 1 Answer

I test to build a WebGL app and got a compiler error 0 Answers

How do i fix a Compiler error 2 Answers

Can't open any projects: Shader compiler initialization error :Failed to read D3Dcompiler_47.DLL 2 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