Earlier in Unity you have to use an external software to record gameplay in Unity editor. With the launch of Unity Cinemachine and Recorder, you can now make and record your own gameplay. This is a very handy feature that eases a lot of work when making a cutscene in Unity. In this tutorial, we will learn how to install Unity recorder and use it to record movies and gameplays.
Install Unity recorder
- Go to Window>Package Manager.
- Select Packages: Unity Registry from the top left corner.
- Search for Unity Recorder.
- Click Install.
Open Unity Recorder
- Go to Window.
- Select General>Recorder>Recorder Window.
- You should see the Unity recorder in the Editor.
Using the Unity recorder
The two major options in Unity recorder are movie and GIF recording. You can find it on the left tab in the recorder Window. The best part is, you can record both GIF and movie at the same time. GIF recording is slow compared to movie, as it processes the GIF frame by frame.
- Select Movie or Gif.
- Select the required source.
- Then Select the Camera you want to use to record.
- Set the output file’s resolution, format and destination.
- Click start recording. This will automatically start your game.
Black screen when recording GIF
Unity GIF recorder seems to have a bug that renders black screen during GIF recording. This problem seems to be related to the camera selection.
- See if your camera is tagged as the main camera.
- If you are still getting a black screen select the Active camera option in place of main camera on the recorder window.
Recording for VR devices
Unity recorder has an option to record gameplay for VR devices too. But you can only record a movie for VR. GIF recorder does not have this option.
- Uncheck GIF recorder.
- Select 360 view as the source.
- Select Tagged camera as the recorder camera.
- Enter the tag of your VR camera in the scene.
- Press record.
If you have any other questions on recorder, leave it in the comment below.