Version: Unity 6.6 Alpha (6000.6)
Language : English
2D preferences reference
Asset Pipeline preferences reference

Analysis preferences reference

The Analysis preferences let you define settings for the 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
and Project Auditor. To open the preferences, go to Edit > Preferences > Analysis (macOS: Unity > Settings > Analysis).

Profiler

Property Function
Frame count Set the maximum number of frames for the Profiler to capture. You can set this number between 600 and 4,000.
Higher number of loaded frames increases memory usage of Unity Editor.
Automatic memory management Automatically manage Profiler memory usage. When the system memory usage is at a critical level and the Profiler uses more than 75% of the Editor memory, Unity discards data until the system memory usage is back to a normal state, or the Profiler uses less than 25% of Editor memory.
Show stats for current frame By default, when you select the Current Frame button and enter Current Frame mode, the frame indicator line doesn’t have annotations with the stats for the current frame. This is because the stats annotations might make it difficult to view data in real-time. To display the annotations, enable this setting.
Default recording state Select the recording state to open the Profiler in. Choose from the following options:
  • Enabled: Keeps the Record button enabled between sessions.
  • Disabled: Turns off the Record button between sessions, regardless of whether you turn it on or off during your profiling session.
  • Remember: Remembers whether you have enabled or disabled the Record button during your session and keeps it at its last state next time you open the Profiler window.
Default editor target mode Select what mode the Target Selection dropdown targets by default. Choose from either Playmode or Editor.
Custom connection ID Enter the connection name that you want to use for the device that’s running your application in the Target Selection drop down in the Profiler Window or Console WindowA Unity Editor window that shows errors, warnings and other messages generated by Unity, or your own scripts. More info
See in Glossary
.

Project Auditor

Analysis

Configure how Project Auditor performs analysis of your project.

Setting Description
Project Areas Select the Project Areas of the project to be included in project analysis. By default, all areas are selected.
Platform Specify the target platform for analysis from a list of all the currently supported platform modules included in your installed Unity Editor. By default, Project Auditor uses the platform that’s targeted in the Build Settings window.
Compilation Mode Specify which assemblies to compile for code analysis, and how to treat those compiled assemblies. The options are as follows:

- Player (default): Compile code for analysis for a non-development build for the specified target platform. Code inside #if DEVELOPMENT_BUILD is excluded from the analysis.
- Development: Compile code for analysis for a development build for the specified target platform. Code inside #if DEVELOPMENT_BUILD is included in the analysis.
- Editor Play Mode: Perform analysis on the assemblies which are used in Play mode. Project Auditor skips the compilation step for these assemblies because the Editor caches them, which speeds up analysis.
- Editor: Perform analysis only on Editor code assemblies. Select this option to analyze custom Editor code, including the contents of packages.
Use Roslyn Analyzers Enable Roslyn analyzers, including one that reports issues impacting domain reload times. Roslyn analyzers can slow down the code compilation step of the analysis process, so this option can be used to disable Roslyn support if you don’t need it.
Log timing information Enable to log information to the Console about how long each analyzer took to run.
Analyze Package Contents For Issues Enable to include issues with packages in the Project Auditor report.

Build

Options to configure how Project Auditor interacts with the build process in your project.

Setting Description
Log number of issues after Build Enable to log the number of issues that Project Auditor finds to the Console.
Log Issues as Errors Only available if the Log number of issues after Build setting is enabled. Enable to log any issues that Project Auditor finds as errors.

Report

Configure how Project Auditor handles the reports it generates.

Setting Description
Prettify saved .projectauditor files Enable to format project reports to make them easier to read. Disabling this setting reduces the file size of reports.

Additional resources

2D preferences reference
Asset Pipeline preferences reference