Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Camera
1/5
Access the device's camera on WebGL!
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2019.4.40f1
Compatible
Compatible
Compatible
Description

This plugin allows you to access the device’s camera and stream its contents into a render texture (or Texture2D if you want to). It works on Chrome, Safari, Firefox, Opera, Edge, with no issues.


It's a lot faster than Unity's regular webcam as well. The video shows that Unity's webcam averages 10 fps on my old Samsung S8, whereas my plugin averages on 60 fps.


You can access the front camera, the rear camera, you can check which cameras the device has to begin with. You can start, stop, update the render texture, check if the camera is active, check if you are on desktop. You can also configure the webcam resolution.


This plugin can also capture the camera feed of a third party plugin and stream its contents into Unity, instead of creating the camera feed itself (which is the default behavior).


Try out this 360 AR experience using this plugin and GyroscopeAccelerometerWebGL.


If you like my plugin, please consider leaving a review. It helps me immensely and encourages me to improve the plugin further, and other people to support my work :).

DeviceCameraWebGL

(11)
40 users have favourite this asset
(40)
$120
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
316.4 KB
Latest version
2.5
Latest release date
Jan 7, 2025
Original Unity version
2019.4.40
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR