A small, self-contained browser tool that visualizes a Unity Addressables
buildlayout.json as a WinDirStat-style treemap, making bundle sizes and
duplicated assets obvious at a glance.
Unity provides an Addressables build report in the editor, but it is tabular, which makes it hard to see where the weight actually is or which assets are silently copied into many bundles. Seeing the same data visualized (sized by bytes, colored by duplication) makes the problems jump out immediately.
- Renders a Group -> Bundle -> Asset treemap where each cell's area is its serialized size.
- Brightness encodes duplication: unique assets are dark, and the more times an asset is duplicated across bundles, the brighter it glows.
- Lists the top offenders by wasted (duplicated) bytes.
- Click any asset to highlight every duplicate copy across the treemap and see its details: size, occurrence count, wasted bytes, and (for each group that contains it) which addressable asset pulled it in (the "why").
- In Unity, build your Addressables content. The build writes a
buildlayout.json(underLibrary/com.unity.addressables/buildlayout.json, or export it from the Addressables build report). - Open
addressables-treemap/index.htmldirectly in a modern browser. No server or build step required. - Drag the
buildlayout.jsononto the page, or click Open File.
That's it. Everything runs locally in the browser; nothing is uploaded.