Closed
Description
Bug description
Running the builder with Unity 2018.4.36f1 and the .Net 3.5 scripting backend, it fails to build with compile errors:
-----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityBuilderAction.dll
Compilation failed: 32 error(s), 0 warnings
-----CompilerOutput:-stderr----------
Assets/Editor/Editor/UnityBuilderAction/Builder.cs(64,27): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/AndroidSettings.cs(11,58): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/AndroidSettings.cs(13,58): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/AndroidSettings.cs(15,58): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/AndroidSettings.cs(17,58): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(15,37): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(17,60): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(22,60): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(31,64): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(37,64): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(38,28): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(41,28): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(54,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(55,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(56,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(57,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(58,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Input/ArgumentsParser.cs(75,28): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(14,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(15,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(16,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(17,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(18,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(19,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(20,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(21,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(22,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Reporting/StdOutReporter.cs(23,10): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Versioning/Git.cs(24,20): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Versioning/Git.cs(28,26): error CS1644: Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Versioning/Git.cs(109,82): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
Assets/Editor/Editor/UnityBuilderAction/Versioning/Git.cs(109,101): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification
-----EndCompilerOutput---------------
How to reproduce
- Run the builder with a project targeting .Net 3.5 scripting runtime.
Expected behavior
Build completes without error.
Additional details
I know that Unity no longer supports .Net 3.5 scripting runtime, but I still need to use it for my project. I'll happily use an older version of unity-builder if an older version will work?