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
- Progress indicator in Meta Quest Build Profile configuration is barely visible
- Slightly transparent objects disappear completely in Web Player when using RenderGraph
- Visual Scripting Components are hidden behind a throbber when Multiplayer Play Mode is running with at least one local instance
- Video Player does not throw an error when playing a video with unsupported encoding settings
- Errors indicating that TMP Extras were not Imported logged when opening the Render Pipeline Converter Window while in Play Mode
Resolution Note (fix version 0.2.9-preview.3):
Fixed in Memory Profiler 0.2.9-preview.3