docs.unity3d.com
Search Results for

    Show / Hide Table of Contents
    Note

    This documentation is for the Project Auditor package, compatible with Unity 6.3 and earlier. Unity versions 6.4 and later include Project Auditor built-in by default. You can open it from Window > Analysis > Project Auditor. For the documentation on the built-in Project Auditor included in Unity 6.4 and later, refer to the Unity User Manual documentation Analyze your project with Project Auditor.

    Compare issues and insights

    You can save the Report object produced by Project Auditor's analysis as a .projectauditor file, or examine it via its API. Report contains a SessionInfo object with information about the analysis session, including a copy of the AnalysisParams which Project Auditor used to configure the analysis. It also provides several methods to access the report's list of discovered ReportItem instances. Each ReportItem represents a single issue or insight: all the data for a single item in one of the tables that are available in the Project Auditor window.

    The difference between issues and insights are that issues have a valid DescriptorId field and insights don't. There are a couple of ways to check this:

    bool isIssue = reportItem.Id.IsValid();
    
    // A slightly more readable alternative...
    bool isIssue = reportItem.IsIssue();
    

    If you have a valid DescriptorId, you can use it to get the corresponding Descriptor, which is the object that described a type of issue, including its details and recommendation strings.

    var descriptor = reportItem.Id.GetDescriptor();
    Debug.Log($"Id: {reportItem.Id.ToString()}");
    Debug.Log($"Description: {descriptor.Description}");
    Debug.Log($"Recommendation: {descriptor.Recommendation}");
    

    Project Auditor also provides an API for creating custom analyzers tailored to the needs of your project. For more information, refer to Create custom analyzers.

    Additional resources

    • Run Project Auditor from the command line
    • Create custom analyzers
    • Report API documentation
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)