View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.1
- Last updated
- First released
- Unity version
- 6000.0.62 or later
- Package size
- 813 KB
- Files
- 10
- Favorites
- 1
- Views in the past week
- 6
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $9.99 on
Keywords
CameraForAllPlatform
CameraForAllPlatform is a camera plugin for Android, iOS, WebGL, and Desktop. One codebase with permission handling, rotation, mirror, resolution, FPS, and camera switching.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
CameraForAllPlatform screenshot 1
About this asset
CameraForAllPlatform — Cross-Platform Camera Solution
CameraForAllPlatform is a unified camera system designed to simplify camera integration across Android, iOS, WebGL, and Desktop. It removes platform-specific complexity by providing a single, consistent API that works everywhere.
With automatic permission handling, flexible camera controls, and real-time texture output, developers can build camera-driven applications without worrying about platform differences.
Key Features
One API for All Platforms
Use a single camera implementation across mobile, web, and desktop environments.
Automatic Permission Handling
Seamlessly manages camera permissions for Android, iOS, WebGL, and Desktop—no manual setup required.
Camera Rotation Support
Handles device orientation with support for 0°, 90°, 180°, and 270° rotation.
Mirror & Flip Options
Supports horizontal mirroring and vertical flipping—ideal for front-facing cameras.
Resolution & FPS Control
Adjust camera width, height, and frame rate based on performance requirements.
Fit-to-Screen Output
Maintains correct aspect ratio and ensures proper screen coverage automatically.
Camera Switching & Selection
- Switch between front and back cameras
- Select cameras via dropdown (Desktop & Web)
- Switch by index or device name
Real-Time Texture Output
Access camera frames as textures for rendering, processing, or ML pipelines.
Event-Driven Lifecycle
Built-in events for camera start, frame update, camera switch, and stop.
Lightweight & Compatible
No external dependencies. Works with Built-in, URP, and HDRP pipelines.
Use Cases
AR Applications
Use camera feeds reliably across mobile and WebGL for custom AR experiences.
Machine Learning & Computer Vision
Perfect for object detection, segmentation, face/hand tracking, and OCR.
Camera-Based Apps
Build live previews, capture systems, and real-time filters.
WebGL Camera Experiences
Enable stable webcam access in browser-based Unity apps.
Games & Interactive UI
Use live camera textures for gameplay mechanics and UI interactions.
Rapid Prototyping & R&D
Quickly test camera-based ideas without platform-specific rewrites.
From the publisher's Asset Store listing.
Technical details
Core API
Built on Unity’s WebCamTexture for cross-platform compatibility.
Platforms
Android, iOS, WebGL, Windows, macOS, Linux
Unity Version
2021 LTS+
Render Pipelines
Built-in, URP, HDRP
Camera Output
- Direct WebCamTexture output (no transform)
- GPU RenderTexture output for rotation, mirroring, and flipping
GPU Transform
- Uses Graphics.Blit()
- Rotation: 0°, 90°, 180°, 270°
- Horizontal mirror & vertical flip via shader
Performance
- Adjustable resolution & FPS
- Reuses RenderTexture (no per-frame allocation)
- Updates only when didUpdateThisFrame is true
Camera Management
- Multiple device support
- Front/back switching
- Select by dropdown (Desktop/Web), index, or name
- Auto-detection on Desktop
Permissions
- Android runtime permissions
- iOS authorization
- WebGL browser permissions
UI & Events
- RawImage preview with aspect ratio fit
- Events: Start, Frame Update, Switch, Stop
System
- No dependencies
- Main thread only
- No unmanaged memory allocations per frame
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.0.62f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.