You are on page 1of 5

Object 1 Object 2

COVID-19 Support:
We’re providing all users three months of complimentary access to Unity Learn Premium, from
March 19 to June 20, 2020.
Projects
Courses
Tutorials
Learn Live
Topics

Premium

Working with the Stats Window - 2019.3


Tutorial
Intermediate
15 Mins
Overview
Details
1
Your progress
Where am I?
1.
The Stats Window
2.
Audio Section
3.
Graphics Section
4.
Conclusion
Summary
Inside the Game window, there’s a Stats button in the top right corner. When this button is pressed,
an overlay window appears. This window shows real-time rendering statistics, which is incredibly
useful for optimizing performance. In this tutorial, you will learn about the Stats window and its
uses.
Recommended Unity versions
2019.3 and Above
Topics we'll cover
Optimization
Industry
AEC
Automotive
Film
Games
Language
English

Tutorial
Working with the Stats Window - 2019.3
1

1.The Stats Window


If you are using Unity 2019.2 or below, click here.
Inside the Game window, there’s a Stats button in the top right corner. When this button is pressed,
an overlay window appears. This window shows real-time rendering statistics, which is incredibly
useful for optimizing performance. The statistics displayed in the overlay window will vary
depending on the build target you’ve defined.
To open the Statistics overlay:
1. Go to your Game view window.
2. In the top right corner of the window, click Stats (Figure 01).

Figure 01: Statistics window


As you can see, the Statistics window contains quite a bit of information that’s displayed in two
categories, Audio and Graphics.
2.Audio Section
The Audio section contains four important pieces of information about the current frame of the
Scene (Figure 02).

Figure 02: Audio statistics


• Level: The current sound decibel. If the audio is muted, you’ll see (MUTED) next to the
decibel level.
• Clipping: The percentage of audio distortion happening within the view.
• Stream load: The total load of the audio stream.
DSP load: The total load of the DSP buffer.

3.Graphics Section
The Graphics category of the overlay contains information about a given frame (Figure 03).

Figure 03: Graphic statistics


• FPS: The amount of time it takes to process and render one frame. does not account for the
time it takes to draw the Scene view, Inspector, and other Editor-only processing.
• CPU: The time spent on the CPU and its rendering thread.
• Batches: This the batches where the engine attempts to combine the rendering of multiple
objects into a chunk of memory in order to reduce CPU overhead due to resource switching.
• Tris: The number of triangles drawn.
• Verts: The number of vertices drawn.
• Screen: The size of the screen along with the anti-aliasing level and memory usage.
• SetPass calls: The number of rendering passes.
• Shadow casters: The number of shadow-casting objects within the view.
• Visible skinned meshes: The number of skinned meshes rendered in the frame.
• Animations: The number of animations playing.

4.Conclusion
The Stats overlay provides real-time feedback and statistics on your project. It’s a quick glance at
what’s happening in the current frame and will help you pinpoint locations within the project that
may be causing performance problems and should be further investigated within the Profiler
window.

Working with the Stats Window - 2019.3


General Tutorial Discussion
1
1
1. The Stats Window
0
0
2. Audio Section
0
0
3. Graphics Section
0
0
4. Conclusion
0
0
Copyright © 2020 Unity Technologies
Legal
Privacy Policy
Cookies
Language:

English
简体中文
한국어
日本語
Русский
Español
Français
Deutsch
Português

You might also like