QRCoder.Unity icon indicating copy to clipboard operation
QRCoder.Unity copied to clipboard

Unable to import library

Open abhayraw1 opened this issue 4 years ago • 2 comments

I followed the installation process and installed the package using NuGut. But Unity throws me an exception when include try to include the library. Here's the script

using QRCoder;
using QRCoder.Unity;

public class TestQr {
}

and here's the exception The type or namespace name 'Unity' does not exist in the namespace 'QRCoder' (are you missing an assembly reference?)

abhayraw1 avatar Jun 24 '20 22:06 abhayraw1

I also have this issue. In packages, QRCoder.Unity.1.0.3/lib is empty - NuGet doesn't seem to actually install the unity-specific DLL.

sigtrapgames avatar Aug 02 '21 17:08 sigtrapgames

Workaround - download the repo and copy QRCoder.Unity/UnityQRCode.cs into your project manually.

sigtrapgames avatar Aug 02 '21 17:08 sigtrapgames