Recorder WebGL

Marks

(5)
$119
Publisher Marks
File size 335.05kB
Number of files 8
Latest version 1.7.1
Latest release date 2024-03-15 12:54:18
First release date 2022-01-14 01:02:12
Supported Unity versions 2018.4.2 or higher

This plugin allows you to record your webgl gameplay. You can take screenshots using Unity's API, but there is nothing to make a video recording. Other assets on the store allow you to record gameplay but they don't support webgl. This asset was made to fill that gap.


FEATURES

  1. Supports recording webgl games.
  2. Optionally records the gameplay with in-game audio. This supports audio from audio sources, from Unity’s Video Player, and my own Video Player.
  3. Optionally records the gameplay with microphone audio.
  4. Optionally records the gameplay with microphone audio and in-game audio.
  5. Configurable framerate.
  6. You can start, stop, pause, resume.
  7. You can download the recorded file in mp4 or webm (depending on the browser).
  8. You can export the recorded video in various formats: DataURL, ObjectURL, BinaryData.
  9. You can check if recording is supported by the browser.
  10. It records in the resolution of Unity’s game canvas.
  11. It supports all major browsers: Chrome, Safari, Firefox, Opera, Edge.

KNOWN ISSUES/LIMITATIONS

  1. Browsers on iPhone require iOS 14.5 or higher.
  2. All in game audios can be recorded, but if you can't start playing the sound before the recording starts, you will need to convert the sound to mp4. More details in the docs.
  3. Having a single recording where you switch the source of a video player at runtime is not supported if the sources have audio. Videos with no volume(or muted) are fine. Otherwise, If you know all the videos that will be played, use multiple video players instead.
  4. This plugin records Unity’s game canvas(don't confuse it with Unity's UI canvas). This means that games that don’t happen entirely in the game’s canvas can’t be recorded by this plugin. If you don’t use other plugins you don’t have to worry about this. Here are some examples:
    4a) Your camera in Unity has clear flag depth only or solid color with alpha 0. If you are doing this it’s probably to show a webcam feed of another plugin you are using, or other background HTML contents. In the specific case of the webcam feed, you can use DeviceCameraWebGL to stream the feed into Unity and make it recordable.
    4b) You have foreground HTML content that overlays Unity’s game canvas. A logo or a watermark for example. In this case, recreate the overlay inside Unity itself and remove the HTML overlay using something like display: none.
  5. Since this plugin records Unity's game canvas, it also means that everything that happens in your game will be recorded. You can't do selective recording. If you don't want to record your UI for example, you can either disable it while recording, or you can use an HTML/CSS overlay(s) solution for the UI. If you choose the latter you will need to make a custom webgl template and communicate the HTML context with Unity.
  6. To record the microphone, you must host your game on an https server, http won't work.

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 :).


Top Publisher Assets