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
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.