Search Issue Tracker
By Design
Votes
0
Found in [Package]
0.2.5-preview.1
Issue ID
1263103
Regression
No
[Memory Profiler] the Owned Size of 'Same' + 'New' is not equal to the right Snapshot when comparing in the Diff mode
How to reproduce:
1. Create a new project
2. Import the Memory Profiler from the Package Manager
3. Open the Memory Profiler window (Window -> Analysis -> Memory Profile)
4. Import Snapshots 'RC41.snap' and 'RC64 3.snap'
5. Open the imported Snapshots in view by clicking the 'Open' button
6. Press 'Diff' button to see the difference between the Snapshots
7. Select the 'Diff' table header and choose the 'Group' filter
8. Select the 'Type' table header and choose the 'Match' filter, enter the value 'Texture2D'
Expected result: the Owned Size of 'Deleted' + 'Same' is equal to the Texture2D value of the first (left) Snapshot and 'Same' + 'New' is equal to the second (right) Snapshot
Actual result: 'Same' + 'New' is not equal to the Texture2D value of the second Snapshot
Reproducible with: 0.1.0-preview.1 (2018.4.25f1), 0.2.5-preview.1 (2019.4.4f1, 2020.1.0b16, 2020.2.0a18)
Notes:
Package versions 0.1.0-preview.6 and below calculate different Owned Size results on the same Snapshots
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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Resolution Note:
Capturing the Snapshots in different game sessions is expected to cause issues in Diff mode as instance IDs do not persist between sessions, not even if the Editor stays open. A session identifier will be added to the snapshot in a future version and improve the Diff mode so that this shouldn't be causing any issues/confusion any more.