Search Issue Tracker
Fixed in 0.2.9-preview.3
Votes
1
Found in [Package]
0.2.9-preview.1
Issue ID
1329193
Regression
Yes
A unused variable in the MemoryProfiler package throws an error when the package is installed
How to reproduce:
1. Create a new Unity project
2. Add the attached "csc.rsp" file to the Assets folder
3. Open the Package Manager (Window -> Package Manager)
4. Install the "Memory Profiler" package
5. Check the Console
Expected results: There are no errors in the Console
Actual results: There is an error in the Console
Reproducible with: 0.2.9-preview.1 (2019.4.23f1, 2020.3.4f1)
Not reproducible with: 0.2.9-preview.1 (2018.4.33f1, 2021.1.4f1, 2021.2.0a14)
Note:
- The warning is: Library\PackageCache\com.unity.memoryprofiler@0.2.9-preview.1\Editor\MemorySnapshot\MemorySnapshot.cs(62,30): error CS0414: The field 'QueriedMemorySnapshot.kCurrentVersion' is assigned but its value is never used
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 0.2.9-preview.3):
Fixed in Memory Profiler 0.2.9-preview.3