Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Addressables Layout Visualizer

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.

Motivation

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.

What it does

  • 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").

How to use

  1. In Unity, build your Addressables content. The build writes a buildlayout.json (under Library/com.unity.addressables/buildlayout.json, or export it from the Addressables build report).
  2. Open addressables-treemap/index.html directly in a modern browser. No server or build step required.
  3. Drag the buildlayout.json onto the page, or click Open File.

That's it. Everything runs locally in the browser; nothing is uploaded.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages