Skip to content
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

'CompilerContext' is inaccessible due to its protection level in Unity 2020.1.2f1 #13

Open
omundy opened this issue Sep 22, 2020 · 1 comment

Comments

@omundy
Copy link

omundy commented Sep 22, 2020

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

image

@iamabigartist
Copy link

I use 2020.3.25f1 :

  1. I use the original 4.x.dll.
  2. Delete the 3.5.dll for ambiguous reference.
  3. Select the 4.x.dll and Set "platforms for plugins" for all platforms.
  4. Then it should work.

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

No branches or pull requests

2 participants