QR & Barcode Generator for Unity
Generate QR codes and multiple barcode formats directly inside Unity using this powerful and lightweight generator based on ZXing.Net.
Create QR codes at runtime or directly in the Unity Editor, customize their appearance, and instantly display them in your UI using Texture2D compatible with RawImage or any custom rendering system.
Perfect for games, apps, login systems, tickets, marketing links, authentication flows, and product codes.
🚀 Key Features
• Runtime QR & Barcode Generation
Generate codes dynamically from scripts during gameplay.
• Edit Mode Preview
Preview and customize QR codes directly in the Unity Editor without entering Play Mode.
• ZXing.Net Powered
Uses the reliable and widely adopted ZXing barcode library.
• UI Ready Output
Generates Texture2D that can be easily displayed in RawImage, UI elements, or custom rendering pipelines.
• Fully Customizable Appearance
Customize colors, outlines, padding, rounded corners, and backgrounds.
• Smart Container Scaling
QR codes automatically scale to fit the available UI container without distortion.
• Performance Friendly
Low memory allocations and efficient generation suitable for runtime use.
• Transparent Background Support
📦 Supported Code Formats
This asset supports both QR codes and many barcode standards.
Supported formats include:
• QR Code
• CODE_39
• CODE_128
• EAN_8
• EAN_13
• UPC_A
• UPC_E
• ITF
• CODABAR
• PDF_417
• DATA_MATRIX
• AZTEC
🎨 Customization Options
Create QR codes that match your project’s visual style:
• Custom foreground colors
• Custom background colors
• Transparent background
• Rounded corners
• Adjustable outlines
• Custom outline colors
• Padding and spacing control
• Quality levels for speed vs visual fidelity
💡 Typical Use Cases
This asset is useful for many types of projects:
• Login and authentication systems
• In-game QR sharing
• Event tickets and access systems
• Marketing links and promotions
• Product or item identification
• Dynamic content sharing in apps and games
📦 Included Demo Scenes
The package includes several ready-to-use examples:
• Ticket Examples Scene – Different QR styles and layouts
• Supported Formats Scene – Showcase of all barcode formats
• Multiple QR Codes Scene – Runtime generation via scripts
Each scene demonstrates how to quickly integrate the system into your own project.
🖥 Supported Platforms
Works on all major Unity platforms:
• WebGL
• Android
• iOS
• Windows
📘 Documentation
Full documentation included with:
• Setup instructions
• Runtime scripting examples
• Customization guide
• Optimization tips