QR Code & Barcode Generator (Runtime + ZXing)
ARGameDev
$15.99
$20.99
24%OFF
(no ratings)
Jump AssetStore
QR codes and 14 barcode formats at runtime or in the Editor: payment QR (SEPA, Swiss QR-bill, UPI, Pix), GS1 labels, your logo, PNG or SVG. One line of code, or none.Rendering does not depend on the pipeline, so there is nothing to set up. Tested in new projects: URP on Unity 6000.4.7 and 6000.6.7, Built-in and HDRP on 6000.6.7, with Windows and WebGL builds. Plain C# with ZXing.Net, no native plugins. Requires Unity UI (com.unity.ugui).🔳 QR & Barcode Generator for UnityGenerate QR codes and 14 barcode formats directly inside Unity with a lightweight generator based on ZXing.Net. Create codes at runtime or in the Editor, style them, and show them in your UI or save them as PNG and SVG files.Perfect for games, apps, login systems, tickets, coupons, payments, marketing links and product labels.🚀 Key Features✔ 15 formats, from QR to GS1 barcodes✔ Runtime and Editor: one line of code, or no code at all✔ Texture2D, Sprite, PNG or SVG output✔ Templates for websites, Wi-Fi, contacts, email, phone, SMS, locations and events✔ Payment QR codes: SEPA (EPC QR, GiroCode), Swiss QR-bill, UPI and Pix, with checks✔ GS1-128, GS1 DataMatrix and GS1 QR, plus GS1 Digital Link✔ Your logo in the center: PNG, JPG or SVG, with background removal and recolor✔ Warnings in the Inspector when a code may not scan✔ Colors, rounded corners, outline, padding, Quiet Zone, transparent background✔ 12 ready prefabs, 3 demo scenes and a live Playground✔ Editor window that saves PNG and SVG files✔ Full C# source📦 Supported FormatsQR Code, Data Matrix, Aztec, PDF417, Code 39, Code 128, EAN-8, EAN-13, UPC-A, UPC-E, ITF, Codabar, GS1-128, GS1 DataMatrix and GS1 QR. Non-Latin text works in QR, Data Matrix, Aztec and PDF417.💳 Payment CodesTemplates write the QR codes banking apps read: SEPA credit transfers (EPC QR, GiroCode) for the euro area, Swiss QR-bills with the Swiss cross, UPI for India and Pix for Brazil. IBANs, references and amounts are checked against each standard, and the Inspector names the field to fix. Scan your code with a real banking app before you print it.🏷 GS1 BarcodesWrite GS1 data as (AI)value pairs, such as (01)09506000134352(17)271231(10)ABC123, and get GS1-128, GS1 DataMatrix or GS1 QR. Every Application Identifier is checked against the GS1 tables, with check digits and dates, and the separators are added for you. The GS1 Digital Link template turns a GTIN, batch and expiry date into the web address a QR code on a product holds.🎨 Your LookChoose the colors, corner radius, outline, padding and Quiet Zone. Put your logo in the center of a QR code from a PNG, JPG or SVG file: the asset can remove its background, recolor a white logo and round a photo. Codes scale to fit their UI container without distortion.⚠ It Warns You When a Code May Not ScanA logo hides part of a code, and scanners need contrast and a light margin. The Inspector warns you and tells you what to change. Always test the final code with a real phone.🧩 No Code, or One LineAdd a code from GameObject > UI (Canvas) > QR Code, or drop one of the 12 prefabs into a Canvas. From a script it is one line:rawImage.texture = QRCode.Generate("Hello!");💡 Typical Use Cases✔ Login and authentication✔ Event tickets and check-in✔ Coupons and payments✔ In-game sharing and marketing links✔ Product labels and inventory🎮 Demo Scenes✔ QR Playground: 12 formats, 9 templates, colors and logos, live✔ QR Formats: 12 formats side by side✔ QR Tickets: ticket layouts with codes▶ Try It FirstOpen the Playground in your browser: https://argamedev.co.uk/demo/qr-playground/🧾 What You NeedUnity 6 with the Unity UI package (com.unity.ugui). TextMesh Pro is not used. The demo scenes work with the Input System and with the old Input Manager. A 27-page guide is in the package.📜 Asset uses ZXing.Net under Apache License 2.0 and Liberation Sans under SIL Open Font License 1.1; see Third-Party Notices.txt file in package for details.QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries. GS1 is a registered trademark of GS1 AISBL. Pix is a trademark of Banco Central do Brasil. UPI is a trademark of National Payments Corporation of India.📘 Documentation: https://argamedev.co.uk/docs/qr-code-barcode-generator-user-guide.pdf📦 Output: Texture2D, Sprite, PNG, SVG🔳 15 formats: QR, Data Matrix, Aztec, PDF417, Code 39, Code 128, EAN-8, EAN-13, UPC-A, UPC-E, ITF, Codabar, GS1-128, GS1 DataMatrix, GS1 QR💳 Payment codes follow EPC069-12 (SEPA), the Swiss Implementation Guidelines for the QR-bill 2.4, the NPCI UPI linking specification and the BR Code of the Banco Central do Brasil (Pix)🏷 GS1: the Application Identifier table of the GS1 General Specifications, GS1 Digital Link URI syntax📏 Longest text in a QR code: 2,953 characters at Low error correction, 1,273 at High🧩 12 prefabs, 3 demo scenes, an Editor window and a 27-page PDF guide💻 Scripts in the ARGameDev namespace, assembly definitions ARGameDev.QRGenerator and ARGameDev.QRGenerator.Editor; full C# source🖥 Platforms: plain C# with no native code; tested in Windows and WebGL builds, Android and iOS builds compile🎨 Render pipelines: URP, HDRP and Built-in, no setup📜 License: includes ZXing.Net 0.16.11 (https://github.com/micjahn/ZXing.Net) under the Apache License 2.0; the full license is in Plugins/ZXing-License.txtClaude (Anthropic) was used as a coding assistant for version 2.0, working to the publisher's specifications: it wrote most of the new and fixed code, the demo scenes and their UI, the sample logos, the tests and the user guide, and the scripts that render the store images and the demo video and synthesize its music in code. QR codes and barcodes are generated by the ZXing.Net library and the package code, not by AI. The four ticket images in the QR Tickets demo scene were made with OpenAI's Sora. The publisher set the requirements and reviewed the results in Unity.






