Legacy Documentation: Version 2018.2 (Go to current version)
Physics Profiler
Global Illumination Profiler
Other Versions

GPU Profiler

GPU Usage Profiler
GPU Usage Profiler

The GPU Usage 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
displays where GPU time is spent in your game. When you select this Profiler, the lower pane displays hierarchical time data for the selected frame. Select an item from the Hierarchy to see a breakdown of contributions in the right-hand panel. See documentation on the Profiler window to learn more about the information in the Profiler.

Note that GPU profiling is disabled when Graphics Jobs (Experimental) is enabled in the Player SettingsA settings manager that lets you set various player-specific options for the final game built by Unity. More info
See in Glossary
. See documentation on Standalone Player Settings for more information. On macOS, GPU profiling is only available under OSX 10.9 Mavericks and later versions.

Remote profiling support

Platform Graphics API Status
Windows D3D9, D3D11, D3D12, OpenGL coreThe back-end Unity uses to support the latest OpenGL features on Windows, MacOS X and Linux. More info
See in Glossary
, OpenGL ES 2.0, OpenGL ES 3.x, Vulkan
Supported.
Mac OS X OpenGL core Supported.
Metal Not available. Use XCode’s GPU Frame Debugger UI(User Interface) Allows a user to interact with your application. More info
See in Glossary
instead.
Linux OpenGL core, Vulkan Supported.
PlayStation 4 libgnm Supported (an alternative is Razor).
Xbox OneMicrosoft’s eighth generation video game console.
See in Glossary
D3D11 Supported (an alternative is PIX).
WebGLA JavaScript API that renders 2D and 3D graphics in a web browser. The Unity WebGL build option allows Unity to publish content as JavaScript programs which use HTML5 technologies and the WebGL rendering API to run Unity content in a web browser. More info
See in Glossary
WebGL 1.0 and WebGL 2.0 Not available.
Android OpenGL ES 2.0, OpenGL ES 3.x Supported only on devices running NVIDIA or Intel GPUs.
Vulkan Supported
iOSApple’s mobile operating system. More info
See in Glossary
, tvOS
Metal, OpenGL ES 2.0, OpenGL ES 3.0 Not available. Use XCode’s GPU Frame Debugger UI instead.
Tizen OpenGL ES 2.0 Not available.

Profiling within the Unity Editor

The Editor supports profiling on Windows with Direct3D 9 and Direct3D 11 APIs only. This has both advantages and disadvantages: it is convenient for quick profiling, because it means you don’t need to build the Player; however, the Profiler is affected by the overhead of running the Unity Editor, which can make the profiling results less accurate.


  • 2017–11–21 Page published with limited editorial review

  • Removed Samsung TV support.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答