Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/2
Take screenshots on the web.
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 asset uses html2canvas under MIT; see html2canvas.min.jspre file in package(MarksAssets/ScreenshotWebGL/Plugins) for details.


Even though Unity has a built in way to take screenshots, it can only take screenshots of stuff happening in the game’s canvas. This asset can take screenshots of everything happening in the DOM. The main use for this asset is when your game doesn’t happen entirely in Unity’s game canvas. An example of such a use case is when you set the camera’s clear flag to depth only or solid color with alpha 0 to show the webcam feed of another plugin. In such a case, the regular screenshot method won’t work because the webcam feed is just an HTML video element and not a texture in Unity that you control.


You can do whatever you want with the screenshot, such as:


  1. Apply it to a Unity texture to render it inside the game. This is what the example scene does.
  2. Upload it to an external server.
  3. Download, supported by ShareNSaveWebGL
  4. Share, supported by ShareNSaveWebGL
  5. etc

ScreenshotWebGL

(not enough ratings)
20 users have favourite this asset
(20)
FREE
License type
File size
211.4 KB
Latest version
1.1
Latest release date
Jan 6, 2023
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