The Scene Profiler Tool is a powerful utility designed to help Unity developers optimize their scenes by providing comprehensive profiling of various scene elements.
Supports Unity 2022.2 or higher
- Overview
- Installation
- Getting Started
- Features
- Modularity
- Sorting and Multi-Column Usage
- Usage
- Support
- License
The Scene Profiler Tool provides detailed insights into the performance of various elements within a Unity scene. It helps developers identify and resolve performance bottlenecks, ensuring a smooth and optimized gaming experience.
- Import it from Asset Store.
- Clone or Download this repository and move the Scene Profiler Folder to your Unity project's Assets folder.
- Or import SceneProfilerRelease.unitypackage from releases.
To install this package, follow the instructions in the Package Manager documentation.
- After importing the package, navigate to the Scene Profiler Tool window by selecting
Window > Analysis > Scene Profiler
from the Unity menu. - In the Scene Profiler Tool window, you can select different profiling options to gather data on various scene elements.
Collects and displays data related to physics objects in the scene. It monitors performance metrics of physics interactions and helps optimize physical simulations.
Analyzes and profiles audio clips used in the scene. Provides detailed information on audio clip properties and usage statistics.
Gathers data on particle systems, offering insights into their performance and impact on the scene. Helps in optimizing particle effects for better performance.
Collects and presents data on all light sources within the scene. Provides metrics to optimize lighting for improved performance and visual quality.
Profiles materials used in the scene, displaying detailed information on material properties and usage. Aids in optimizing material configurations for better rendering performance.
Collects data on meshes within the scene. Offers insights into mesh properties and their impact on performance.
Analyzes textures used in the scene, providing detailed information on texture properties and usage. Helps in optimizing texture usage for improved performance.
Collects and displays warnings related to various aspects of the scene. Helps in identifying and addressing potential issues that may affect performance.
Identifies and reports missing assets within the scene. Ensures that all necessary assets are present and properly referenced.
Profiles objects in the scene that are deemed "expensive" due to their scale, hierarchy depth, or component count. Helps in identifying objects that may be causing performance bottlenecks due to their complexity.
The Scene File Profiler identifies objects within the scene that have the most significant impact on the file size. By analyzing the components and their contributions to the overall scene file, this profiler helps pinpoint which elements are responsible for large file sizes, enabling targeted optimizations to reduce loading times and improve performance.
The Scene Profiler Tool is modular, allowing you to enable or disable specific profiling modules based on your needs. This flexibility ensures that you can focus on the aspects of your scene that are most critical for optimization. Each module can be toggled on or off from the tool's interface.
The Scene Profiler Tool supports sorting and multi-column usage to enhance the analysis of profiling data. You can sort data within each profiler module by various criteria, such as name, size, and performance metrics. Additionally, the tool uses multi-column layouts to display detailed information for each profiled object, making it easier to compare and analyze data.
- Open the Scene Profiler Tool window from the Unity menu:
Window > Analysis > Scene Profiler
. - Select the profiling category you want to analyze (e.g., Physics, Audio Clips, Particle Systems, etc.).
- Click the
Collect Data
button to start collecting data. - Review the collected data in the tool's interface. Use the insights provided to optimize the respective elements of your scene.
- To clear the collected data and refresh the interface, click the
Clear
button. - To access additional settings for the profiler, click the
Settings
button. Here, you can configure options such as including disabled objects, looking in sprite animations, and more. - Click the
Modules
button to toggle the display of different profiling modules.
If you encounter any issues or have any questions regarding the Scene Profiler Tool, please message me at iamtonygreen@gmail.com.
The Scene Profiler Tool is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License. For more information, see the LICENSE file included in the package.