Issue with Memory profiler snapshot generated - not able to view in editor.

Hi,
I generated a memory profiler snapshot using API

UnityEngine.Profiling.Memory.Experimental.MemoryProfiler.TakeSnapshot(snapshotPath, onSnapshotReceived);

ran above script from a build debug menu in android - Snapshot is generated but when I tried importing it to same unity profiler from which local build was generated unity says:

“Profiler data stream has invalid signature. Was this Profiler data captured in a newer Unity version?”

Version of unity used is 2019.4.21f1

Please help . is this a known issue or any work around for the same?

Hi there,

Memory snapshots (.snap) can’t be opened by the Profiler Window (that only loads .raw and .data general profiling data files), only with the Memory Profiler Package, which you’d need to add to your project first.