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

Compilation errors in Unity 6 #27

Open
laicasaane opened this issue Nov 28, 2024 · 2 comments
Open

Compilation errors in Unity 6 #27

laicasaane opened this issue Nov 28, 2024 · 2 comments

Comments

@laicasaane
Copy link

Steps to reproduce:

  1. Create a new project with Unity 6000.0.27f1
  2. Platform is Windows
  3. Install the latest version of Needle Console via OpenUPM
  4. In Project Settings > Player, set Editor Assemblies Compatibility Level to .NET Standard

image

Expected result:

No compilation error.

Actual result:

Multiple compilation errors:

Library\PackageCache\com.needle.console\Editor\CustomConsole\Patch_ConsoleWindowListView.cs(36,44):
error CS7069: Reference to type 'LocalBuilder' claims it is defined in 'mscorlib', but it could not be found
Library\PackageCache\com.needle.console\Editor\CustomConsole\Patch_ConsoleWindowListView.cs(59,12):
error CS7069: Reference to type 'Label' claims it is defined in 'mscorlib', but it could not be found
Library\PackageCache\com.needle.console\Editor\CustomConsole\Patch_ConsoleWindowListView.cs(59,23):
error CS1503: Argument 1: cannot convert from 'System.Reflection.Emit.Label [C:\Programs\Unity\Hub\Editor\6000.0.27f1\Editor\Data\NetStandard\ref\2.1.0\netstandard.dll]'
to 'System.Reflection.Emit.Label [C:\Programs\Unity\Hub\Editor\6000.0.27f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\mscorlib.dll]'
@marwie
Copy link
Member

marwie commented Dec 13, 2024

Thanks for reporting this. I will investigate as soon as possible. Please let me know if you purchased a license for Needle Console.

In the meantime you could try to update the harmony dependency used in the project and let me know if that changes anything

@laicasaane
Copy link
Author

Please let me know if you purchased a license for Needle Console.

I don't have one. I use Needle Console on open sourced projects only.

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