Unity-Technologies / ProjectAuditor

Project Auditor is an experimental static analysis tool for Unity Projects.
Other
806 stars 66 forks source link

Compilation Mode #90

Closed mtrive closed 2 years ago

mtrive commented 2 years ago

Problem Project Auditor compiles assemblies for the currently selected target in Development mode. This leads to over-reporting since Development assemblies might contain code that is not shipped to the end user.

Solution Compile (and analyze) Non-Development assemblies instead. In this PR, we are also replacing the previous AnalyzeEditorCode with CompilationMode option. The CompilationMode enum, which can be one of the following: