The Video ProfilerA window that helps you to optimize your game. It shows how much time is spent in the various areas of your game. For example, it can report the percentage of time spent rendering, animating, or in your game logic. More info
See in Glossary module displays information about what resources the video in your application is using, such as memory, buffering, and number of video clips. You can use this to determine how efficiently your application plays back and buffers videos on your selected platforms. You can also use the CPU Usage Profiler module to assess where Unity spends time on video. For more information, see the CPU Usage Profiler module documentation.
To open the Profiler window, go to menu: Window > Analysis > Profiler.
The Video Profiler module’s chart is divided into four categories. To change the order of the categories in the chart, you can drag and drop them in the chart’s legend. You can also click a category’s colored legend to toggle its display. For more information on how to use the Profiler window, see the documentation on Getting started with the Profiler window.
Chart | Description |
---|---|
Total Video Sources | The total number of video sources in your SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info See in Glossary. |
Playing Video Sources | The number of video sources playing in your Scene. |
Pre-buffered frames | The total number of pre-buffered frames. |
Total Video Memory | The amount of system memory the video in your application is using. |
When you select a frame in the Video Profiler module, the module details pane at the bottom of the Profiler window displays further detailed information on the video playback in your Scene. The following information is available:
Detail | Description |
---|---|
Total Video Sources | The number of video sources in your Scene. |
Playing Video Sources | The number of video sources playing in your Scene. |
Paused Video Sources | The number of video sources that are paused. |
Software Video Playback | The number of videos playing that the platform doesn’t natively support. |
Pre-buffered frames | The total number of pre-buffered frames. |
Pre-buffered frame limit | The pre-buffered frame limit. Unity buffers up to 16 frames per clip. |
Total frames dropped | Number of frames that Unity had to skip in order to maintain real time. This might happen when your application runs slowly and cannot produce frames fast enough to play in real time. |
Video Clip Count | The number of video clips in your Scene. |
Total Video Memory | The amount of system memory the video in your application is using. |