com.unity.testtools.codecoverage 1.3.0

com.unity.testtools.codecoverage

Source docs
Notes: processedReleased January 20, 2026

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2021.3

🔧 Bug Fixes

  • Fixed the filtering and reporting of package's paths that were reported relative to the current project instead of absolute.
  • Fixed a NullReferenceException that could occur while computing cyclomatic complexity.
  • Fixed references to the deprecated EditorAnalytics methods for release streams from 6000.0 or newer (case COV-44)
  • Fixed playmode tests failing in the *Asteroids sample project* (case COV-54)
  • Fixed pink materials to be rendered for URP in *Asteroids sample project*
  • Updated the Input System in *Asteroids sample project* to use the new Input System package instead of the legacy one (case COV-52)
  • Fixed *assembliesInclude*/*assembliesExclude* parsing in `filtersFromFile` when running in the command line in `non-batchmode`

🔄 Changes

  • Raised the minimum supported Unity version for the Code Coverage package to 2021.3 and updated the codebase to align with this new dependency.
  • Updated dependency packages versions: `com.unity.test-framework` to v1.4.5 and `com.unity.settings-manager` to v2.0.0.
  • The entries in the `pathFilters` option in *-coverageOptions* are now processed in order so a subset path can be included even if the parent path is excluded. Previously all exclusions were processed before any inclusions.
  • Removed the `CoverageFormat` class, as there are currently no plans to support any other raw coverage formats other than OpenCover.

📈 Improvements

  • Reduced the needed time to apply path filtering during the report generation.
  • Migrated Mono APIs to CoreCLR-compatible APIs.
  • Documentation: Added a note about the Input System package dependency in the Code Coverage tutorial page.
  • Documentation: Fixed broken links in the Code Coverage tutorial page.