Search Issue Tracker

Fixed

Fixed in 2023.1.0a20

Votes

0

Found in

2023.1.0a17

Issue ID

UUM-18206

Regression

Yes

Coverage.GetStatsForAllCoveredMethods() returns no CoveredMethodStats for packages added from tarball

--

-

Steps to reproduce:
# Create new unity project
# Remove Code Coverage package
# Add com.unity.repro-coverage-issue-1.2.0.tgz package (from tarball) included to this ticket
# Click {{Test/Enable Coverage}} menu item to enable coverage tracking
# Click {{Test/Reproduce issue}} menu item to execute a method and print coverage information that was generated

Notice error in console:

"GetStatsForAllCoveredMethods() returned no CoveredMethodStats"

Expected result: It should instead print coverage information for AMethod() that was executed before GetStartsForAllCoveredMethods() call.

 

Reproduced with: 2023.1.0a17

Not reproducible: 2023.1.0a16

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.