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
- "Component (...) had become dangling during an undo operation." warning undoing creating a light
- Ghost collisions occur in a Physics mesh when entering the Play mode
- TMP text with Auto Size overflows when using the WD% property
- Light Explorer does not update Isolated Selection when new Light selected in Scene
- "Reference for Rendering" opens a documentation focused in the "Shadows"
Resolution Note (fix version 0.2.9-preview.3):
Fixed in Memory Profiler 0.2.9-preview.3