Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

2.1.0-preview

Issue ID

1295863

Regression

Yes

Missing Assembly Definition References when updating Performance Test API package

Package: Performance Test Framework

-

Reproduction steps:
1. Open attached user's project
2. In Package Manager, update "Performance testing API" package to version 2.2.0-preview
3. Observe Console window
4. In Project window, select Assets\Plugins\GeometricVision\Tests\Tests.asmdf
5. In Inspector window, observe Assembly Definition References

Expected result: No console errors, no missing Assembly Definition References
Actual result: Console errors, missing Assembly Definition References

Reproducible with: 2.2.0-preview (2020.1.17f1, 2020.2.0f1, 2021.1.0a10), 2.4.1-preview (2020.1.17f1, 2020.2.0f1, 2021.1.0a10)
Could not test with: 2018.4.30f1, 2019.4.17f1 (compilation errors break project)

Notes:
1. Issue reproduces when updating package version 2.1.0 and prior to 2.2.0-preview and above.
2. To fix the issue, remove the missing Assembly Definition References, as well as Unity.PerformanceTesting.Editor from the Tests.asmdf asset. Then, add Unity.PerformanceTesting and Unity.PerformanceTesting.Editor and apply the changes.

  1. Resolution Note:

    Unfortunately, we can't fix this as it will lead to breaking everyone who has upgraded already.

    To fix this locally after upgrading performance framework package update your assembly definitions using Unity.PerformanceTesting and Unity.PerformanceTesting.Editor references.

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.