First of all, apologies if this is the wrong place for this - I’ve posted on stackoverflow, unity answers, and /r/Unity3D without any help so far, so I came here. If this type of support post doesn’t belong here, please let me know and I’ll delete the thread!
Things I’ve tried:
Deleting the Library and Temp/Obj folders, three times now (rebuilding library each time) with no change.
I’ve removed my alternate compiler (Incremental Compiler.)
Reinstalled Unity 5.6.0b3 beta - no change.
Upgraded to Unity 5.6.0b7 - no change.
There is no alternate UnityEditor.dll in my Assets folder.
Creating a new project with Standard Assets only works fine and can be compiled.
Here’s a picture of the error:
Could not start > compilationMissingMethodException: > Method not found: > ‘UnityEditor.Scripting.Compilers.MonoScriptCompilerBase.GetProfileDirectory’. > UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling > () (at > C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:40)
Before you spend any time on this, I think I’ve fixed it by removing the 3rd-party Incremental Compiler.
This was actually one of the first things I tried, as it’s obvious, but it didn’t seem to do anything. I think this is because, for whatever reason, I had to restart Unity after removing the Incremental Compiler, otherwise the compiler error still occurred and it wouldn’t execute.
I found this by adding assets from my project to a fresh project, one by one, and found the error when I added the ICompiler.
I think the first time troubleshooting I made the mistake of assuming it wasn’t the incremental compiler due to my lack of restarting - although to be honest I’m surprised I made such a stupid mistake!
I’ll mark this thread solved and close my bug report as soon as I verify 100% that this was the cause.