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