Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0b2
Issue ID
989622
Regression
No
PackedMemorySnapshot: NativeArray memory is not captured in it
To reproduce:
1) Open attached project and scene
2) Play it
3) Click Bugreport->Open Test Code Window
4) Click "Capture Memory 'Editor'" Button
Expected: It reports a Native Array (you can see with Detailed Memory Snapshot made with profiler that it exists)
Actual: It reports nothing
Reproduced in 2018.1.0b2
The Detailed Memory view functions are on a different system than the Packed Memory snapshot when it comes to collected metrics. The Packed Memory Snapshot was not designed to directly collect native memory allocations instead it will only collect Types that inherit from Object (eg: GameObjects). While we will not be adding support for collecting native allocations to the current snapshot capture functionality we are working on a new system that will not have this restriction.
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
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
Peter77
Jun 11, 2018 17:02
Related forum thread:
https://forum.unity.com/threads/case-989622-packedmemorysnapshot-nativearray-memory-missing-allegedly-fixed-in-2018-2.535620/