-
Notifications
You must be signed in to change notification settings - Fork 13
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
System.Drawing.Common Compile Error #1
Comments
@DogukanErdem, I was wondering if you ever solved this problem since it also happened to me but the errors I had are these: -Assembly 'Assets/Packages/QRCoder.1.3.4/lib/netstandard2.0/QRCoder.dll' will not be loaded due to errors: Unable to resolve reference 'System.Drawing.Common'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector. -Assembly 'Assets/Packages/QRCoder.Unity.1.0.2/lib/net35/QRCoder.Unity.dll' will not be loaded due to errors: Reference has errors 'QRCoder'. The environment I was in is:
When I tried changing it from .NET 2.0 to 4.x, I got 2 additional errors: -Assembly 'Assets/Packages/QRCoder.1.3.4/lib/net40/QRCoder.dll' will not be loaded due to errors: Unable to resolve reference 'PresentationCore'. Is the assembly missing or incompatible with the current platform?Reference validation can be disabled in the Plugin Inspector. -Assembly 'Assets/Packages/QRCoder.Unity.1.0.2/lib/net40/QRCoder.Unity.dll' will not be loaded due to errors: Reference has errors 'QRCoder'. |
If someone runs into this, this is how I got it working: Download the following packages from nuget directly:
Add the following versions for each package as references (just add the dlls as assets) to the unity project:
The environment I was in is:
|
Little update what versions worked for me: Unity 2022.3.8f1 QRCoder.Unity.1.0.3 net4.0 |
Hi, I imported QRCoder.Unity using NuGet for Unity and I got these errors;
-Assembly 'Assets/Packages/QRCoder.1.3.4/lib/netstandard2.0/QRCoder.dll' will not be loaded due to errors: Unable to resolve reference 'System.Drawing.Common'. Is the assembly missing or incompatible with the current platform?
-Assembly 'Assets/Packages/QRCoder.Unity.1.0.2/lib/net35/QRCoder.Unity.dll' will not be loaded due to errors: Reference has errors 'QRCoder'.
-Assembly 'Library/ScriptAssemblies/Assembly-CSharp.dll' will not be loaded due to errors: Reference has errors 'QRCoder'.
Environment:
Unity3D 2018.3.2f1
Scripting Runtime Version : .NET 4.x
The text was updated successfully, but these errors were encountered: