I have a project that was working just fine one moment, but now I have these errors:
ApplicationException: Unable to find a suitable compiler
UnityEditor.Scripting.ScriptCompilers.CreateCompilerInstance (MonoIsland island) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/Scripting/ScriptCompilers.cs:87)
Failed to create compiler instance
Compilation failed because the compiler couldn't be executed!
All compiler errors have to be fixed before you can enter playmode!
UnityEditor.SceneView:ShowCompileErrorNotification()
I can’t think of anything I did from then to now. Does anyone know what causes this and/or how to solve it?
I had tried restarting Unity,
I restarted my computer too. I just got a tip from a friend and it worked. I went into my Unity Project and deleted all of the contents of the “Cache” folder. It’s working like a charm now.
Alright,
I’m sorry for restarting this thread, but I have the error again. I have narrowed it down to something in my cache. When I delete everything in my cache and open up a script ( to get the script back in the project), it will run once. But as soon as that one time is over, it goes back to the error. I’m not sure what the cache stores exactly, but I believe it’s either something in there, or something in my script that may be put in there. But the same scripts were running fine before.
Perhaps thers simply something wrong with your project? As silly as it sounds, did you try closing the project and renaming it? Or copying over the content of it into a new folder?
well I decide to try something and well it sorta helped, by that I mean I deleted whole Library folder of my project, and well game did compile but sadly all the relations of scripts and rest stuff is fuckedup… now I had zipped a copy of my library folder before deleting it, now I need to figure out which thing responds for asset relations…
You can create a new project in another directory and with another name. Then manually copy and past your assets folder from last bug shit project to the new one.You can see the errors will disappear!
Same problem here.
Reimport all assets is just a temporary solution.
Some guys solve this problem taking off the builded solution from asset folder but that’s not my case.
I’ve formated my PC, installed another SO, reinstalled Unity, use another unity license, switch over several deploy options, deleted Library folder, turned off SVN, tried in another computer, deleted ProjectSettings folder as Library folder and project solutions, all at once, and…even this way… the problem returns.
I’m using SVN and the problem is affecting my co-workers in the same project as well. The problem is only on this project. Other projects are running fine.
All this actions makes me believe that this issue is some kind of bug related to some corrupted file in my assets. However, all my codes, textures and sounds are working fine.
I also had deleted all scripts even in the editor and the problem returned.
I’m now starting to test each asset importing one by one to another project waiting to find the source of this problem.
I just had this same error. I quit out of unity and opened it back up. Different error messages popped up referring to some audio script that I had written which I fixed and all seems OK now. But when it did restart it had to reload all my assets which took about 5 minutes.