Project Auditor is an experimental static analysis tool for Unity Projects. This tool will analyze scripts and project settings of a Unity project and report a list of potential problems that might affect performance, memory and other areas.
This project is still experimental and will likely change heavily in the future. So far this tool has only been tested with a few projects, therefore it might not work correctly depending on the version of Unity and the content of the project.
All versions of Unity should be compatible, however, check the Installation instructions for details regarding speficic branch required based on the version of Unity.
Although this project is developed by Unity employees, it is not officially supported by Unity and it is not on Unity's roadmap. Feedback and requests are more than welcome, please enter them as issues.
Project Auditor can be installed as a package in Unity 2018+, or added to the Assets
folder in previous versions of Unity.
Add com.unity.project-auditor
as a dependency to the project Packages/manifest.json
file:
{
"dependencies": {
"com.unity.project-auditor": "https://[email protected]/mtrive/ProjectAuditor.git",
}
}
Clone this repository to your Unity project as follows:
cd Assets
git clone https://github.com/mtrive/ProjectAuditor.git
The Project Auditor editor window can be open via Window => Analysis => Project Auditor. Click on Analyze, then go through the list of potential issues to determine whether they are actual problems in your project.