Skip to content

Fix for Unity 2017.1 compatibility. #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LoganBooker
Copy link

  • Supported language list field name was renamed in 2017.

- Supported language list field name was renamed in 2017.
@LoganBooker LoganBooker mentioned this pull request Jul 26, 2017
@00christian00
Copy link

Hi, I tried compiling your version using the "fake" build system but the compiler still stays "stopped"

@CCludts
Copy link

CCludts commented Oct 8, 2017

@LoganBooker I managed to build using your fix, but get an error when I try to build inside Unity.

ArgumentNullException: Argument cannot be null.
Parameter name: source
System.Linq.Check.SourceAndPredicate (System.Object source, System.Object predicate)
System.Linq.Enumerable.Single[CustomScriptAssembly] (IEnumerable`1 source, System.Func`2 predicate)
UnityEditor.Scripting.ScriptCompilation.EditorCompilation.CompileScripts (EditorScriptCompilationOptions definesOptions, BuildTargetGroup platformGroup, BuildTarget platform) (at C:/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:322)
UnityEditor.Scripting.ScriptCompilation.EditorCompilation.TickCompilationPipeline (EditorScriptCompilationOptions options, BuildTargetGroup platformGroup, BuildTarget platform) (at C:/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:518)
UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface.TickCompilationPipeline (EditorScriptCompilationOptions options, BuildTargetGroup platformGroup, BuildTarget platform) (at C:/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilationInterface.cs:122)

Using Unity2017.1.1f1, windows 10.
I'm trying to build a single c# file in an empty project, so it shouldnt be anything related to extensions or things like that.

Any tips would be very much appreciated.

edit: After digging around for hours, it seems that Unity is complaining about multiple programming languages being used at the same time.
I found that the compilerPlugin.dll is using CustomCSharpLanguage, so this might be related...?
Still clueless on a fix though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants