Essay - Published: 2021.03.19 | screenshot | unity |
DISCLOSURE: If you buy through affiliate links, I may earn a small commission. (disclosures)
In this guide I'll show you how I take high quality screenshots in Unity3D with no code.
To do this we'll be using the official Unity Recorder package. I like it because it's:
All of these lead me to believe that this will be a good screen capture method now and in the future.
Here's how to take a screenshot using Unity's official Unity Recorder package.
First let's install Unity Recorder so we can use it.
Unity Recorder then click InstallThis will begin installation of the Unity Recorder package for use in your project.
Next we need to make the Unity Recorder tools visible so we can use them.
Open the Unity Recorder window by:
Window > General > Recorder > Recorder WindowUnity Recorder is pretty feature packed, allowing you to take many different kinds of recordings - timed recordings, frame-based recordings, constant / variable rates, etc. But for this post we're just trying to take a screenshot.
Image Sequence.Source (what the recorder will record), Media File Format, and Output Resolution to your liking.Recording Mode to Single Frame and set Target Frame to the frame you want to capture (I usually use 0 so that my recorder gets the first frame after clicking the button).To take a screenshot, simply get your video source looking at the things you want to capture and click the red button or START RECORDING to take a screenshot!
I've been working a lot more in Unity this year so have been putting out semi-regular tips and tricks for how I get the most out of the environment. If you're interested in getting updates, consider subscribing to my posts and/or subscribing to my videos.
Happy developing!
The best way to support my work is to like / comment / share for the algorithm and subscribe for future updates.