unity-shell
unity-shell copied to clipboard
'CompilerContext' is inaccessible due to its protection level in Unity 2020.1.2f1
I installed (dragged into Assets) in Unity 2020.1.2f1 and received the following errors
Assets/UnityShell/Editor/Scripts/ShellEvaluator.cs(27,34): error CS0122: 'CompilerContext' is inaccessible due to its protection level
Assets/UnityShell/Editor/Scripts/ShellEvaluator.cs(27,54): error CS0122: 'CompilerSettings' is inaccessible due to its protection level
Assets/UnityShell/Editor/Scripts/ShellEvaluator.cs(27,78): error CS0122: 'ConsoleReportPrinter' is inaccessible due to its protection level
Assets/UnityShell/Editor/Scripts/ShellEvaluator.cs(27,20): error CS1729: 'Evaluator' does not contain a constructor that takes 1 arguments
I use 2020.3.25f1 :
- I use the original 4.x.dll.
- Delete the 3.5.dll for ambiguous reference.
- Select the 4.x.dll and Set "platforms for plugins" for all platforms.
- Then it should work.