- Home /
unable to find a suitable compiler for sources with extension 'dll'
what does this error mean?
ApplicationException: Unable to find a suitable compiler for sources with extension 'dll' (Output assembly: Temp/Assembly-CSharp.dll) UnityEditor.Scripting.ScriptCompilers.CreateCompilerInstance (MonoIsland island, Boolean buildingForEditor, BuildTarget targetPlatform, Boolean runUpdater) (at C:/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilers.cs:96)
i have been using unity almost all day for close to 2 weeks now, and then all of a sudden the compiler crashes on me. :/ any idea what i need to do to fix this? i really don't want to lose all my code, or project.
please dont lock this question, but let me know what i may be able to do to fix this, i have browsed the other questions and seems like ive only found ones from 3 years or so ago. really want to fix this so i can continue to code,
thanks in advance.
i turned off windows defender, and that did not fix it either, i find it strange that it all of a sudden has this error after so long of working just fine.
I am attempting to reinstall it, i deleted it, and now its re downloading.. hoping that this fixes it. but i would love to know what actually caused it. also would love to know if this doesn't work if anyone else has had success with anything else?
I've never had this problem, but for the error message it sounds like you have a .dll file in the wrong directory, and Unity is trying to compile it. If you're using dll files maybe this can help: http://docs.unity3d.com/$$anonymous$$anual/UsingDLL.html
whats strange is that i dont feel like i was. i mean not intentionally. i think that when i added some models and other graphics something glitched out. when i re installed it i still couldnt continue that project, but i was able to add the scripts i wrote to a new project and continue that way
I've been having the same issue, this happened when I tried to build the project the first time. After that the errors show again with Failed to Create Compiler Instance
Answer by vuwij · Jul 05, 2015 at 08:22 AM
Try removing any builds or removing the entire build folder, it worked for me
Answer by rajan4uto · Jan 28, 2016 at 07:12 AM
I know it's an old thread but I have also the same problem but i have fixed it temporarily. Go to Assets---> Reimport all it will take some time to reimport your project after that no such error will come but after some time it will again when I add any model or write any script, it's so irritating. Really need help.
Answer by BlackDDCat · Apr 11, 2019 at 01:51 PM
use windows explorer search your whole folder(hided file either) find all the file which suffixed by '.dll' and delete it one by one,when delete one file reopen unity once until the error disappear,then you will find the error file. i have encountered the same problem before and use this way to fixed it.
Your answer

Follow this Question
Related Questions
How do I move my gun to "position B"? 1 Answer
Compile error with Weaver since 5.3.0f4, not using Weaver.. 0 Answers
I made part of an aiming down your sight script, how doo i move the gun, help! 2 Answers
Compile Error in XCode with Unity SplashScreenController/UnityViewControllerBase for IOS build 0 Answers
How do I find out a compile error that wont show up. 1 Answer