Support 2021.1
See original GitHub issueOn 2021.1.a9 the “Apply” button is causing an exception, so I couldn’t test it yet.
[Exception] InvalidOperationException: Sequence contains no matching element
Enumerable.First[TSource]() at <351e49e2a5bf4fd6beabb458ce2255f3>:0
ReflectionExtensions.Call() at <26e68dbb771b4491aa5f1dc8f99cc436>:0
Utils.RequestCompilation() at <26e68dbb771b4491aa5f1dc8f99cc436>:0
CscSettingsProvider+<>c.<OnGUI>b__9_1() at Library/PackageCache/com.coffee.csharp-compiler-settings@88d8659a14/Editor/CscSettingsProvider.cs:100
98: serializedObject.ApplyModifiedProperties();
99: File.WriteAllText(CscSettingsAsset.k_SettingsPath, JsonUtility.ToJson(serializedObject.targetObject, true));
-->100: Utils.RequestCompilation();
101: },
102: onReload: () =>
InspectorGUI.DrawControl() at Library/PackageCache/com.coffee.csharp-compiler-settings@88d8659a14/Editor/InspectorGUI.cs:175
174: if (onApply != null && GUILayout.Button(s_ApplyText))
-->175: onApply();
176: }
CscSettingsProvider.OnGUI() at Library/PackageCache/com.coffee.csharp-compiler-settings@88d8659a14/Editor/CscSettingsProvider.cs:94
93: // Controls
-->94: InspectorGUI.DrawControl(serializedObject.hasModifiedProperties,
95: onRevert: () => { serializedObject = new SerializedObject(CscSettingsAsset.instance); },
96: onApply: () =>
SettingsProvider.OnGUI() at <a19e86c7bf354115a4c6a5953c0575cb>:0
_Originally posted by @SugoiDev in https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/issues/6#issuecomment-750290039_
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Supported Devices - 2021.1 English
The following sections list architecture support for commercial products in the Vivado® Design Suite ML Standard Edition tool versus all other Vivado Design ......
Read more >Tableau Server 2021.1.18
Product support. Activate license · Troubleshoot issues · Support home. Installation Guide Install and Configure Tableau ...
Read more >Connect 2021.1 Release Notes
Version: 2021.1. Last modified: June 23, 2022 ... Version, Date, Release, End of Support. 2021.1, February 10, 2021, Major, August 10, 2022.
Read more >Autodesk Revit 2021 Product Updates
Update Name Where Update Installation can be obtained from Improvements included...
2021.1.8 Hotfix* Subscription Account Portal and Autodesk Access Release Notes
2021.1.7 Hotfix* Expired ‑...
Read more >Ivanti Endpoint Manager 2021.1 Service Update 1 Readme
This Service Update changes how Proxyhost, a component of the EPM agent shared across Windows, Mac, and Linux, validates communication with the Core...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@VolodymyrBS @SugoiDev
Up to Unity 2020.x, we used to replace the compile process from the script, but that is no longer possible. After a brief investigation, the compile task has changed significantly since Unity 2021.1:
CompilationTask (class)
has been changed toBee
andBeeDriver (class)
Library/Bee/*.dag.json
ExternalCSCompiler
assembly (used for #6: 2020.2 support) has been disabled@KuraiAndras @SugoiDev @neon-age Thank you for your cooperations! I have been trying some ideas for a few days. I found a way to set up csc configuration for each assembly in 2021.x. 👍 https://github.com/mob-sakai/CSharpCompilerSettingsForUnity/blob/develop/Plugins/CSharpCompilerSettings/CustomCompiler_2021.cs