Introduction
Heap Explorer is a Memory Profiler, Debugger and Analyzer for Unity.
I spent a significant amount of time identifying and fixing memory leaks, as well as looking for memory optimization opportunities in Unity applications in the past. During this time, I often used Unity’s old Memory Profiler and while it’s an useful tool, I was never entirely happy with it.
This lead me to write my own memory profiler, where I have the opportunity to make all the things I didn’t like about Unity’s Memory Profiler better™.
Fast-forward about a year, Unity Technologies announced they’re working on a Memory Profiler too. This crushed my plans with what I had in mind for Heap Explorer. It was no longer a legit option for me to put a lot of time in the tool, as Unity Technologies tool is at least as good as what I’m able to come up with.
After a lot of back-and-forth what to do with Heap Explorer, I came to the conclusion that the best option is to provide the source code and (mentally) move on. You can read more about this [here]( ░ ▒ ▓ █ Heap Explorer - Memory Profiler, Debugger and Analyzer for Unity page-3#post-4250698).
I’ve provided occasional updates since then, because several people still prefer Heap Explorer over Unity’s Memory Profiler, due to its easier to understand UI/UX.
I’ve also updated Heap Explorer to work with Unity 2019.3 and converted it into a Package, which means you should be able to use Heap Explorer for the entire 2019 LTS cycle, which ends in 2022.
Don’t miss to watch this forum thread, in order to get notified about future updates!
Download
Heap Explorer for Unity 2019.3 is provided as an Unity Package:
Heap Explorer for Unity 2017.4 - 2019.2 is provided as a ZIP only:
http://www.console-dev.de/bin/heapexplorer.zip
Source code
Heap Explorer for Unity 2019.3:
Heap Explorer for Unity 2017.4 - 2019.2:
https://bitbucket.org/pschraut/unityheapexplorer/src
Known Issues
Heap Explorer uses Unity’s experimental MemoryProfiling API, which contains various bugs, from cosmetics to major issues that make memory snapshots not trustworthy.
These bugs occur in every application that use Unity’s MemoryProfiling API, such as Unity’s own MemoryProfiler tool. I hope Unity Technologies is going to fix them.