Addressables BuildLayout Explorer for Unity

BuildLayout Explorer for Unity allows you to inspect the buildlayout.txt report file that is generated by Addressables when building content.

BuildLayout Explorer is provided as a package that you can add to your project via the Unity Package Manager.

Features

The tool allows to inspect:

  • A list of Addressables Groups and what bundles have been generated by each group.

  • A list of generated bundles and what assets each bundle contains.

  • A list of all assets included in all bundles.

  • A list of duplicated assets. The same asset that is copied in multiple bundles.

I’ve tested it with Unity 2019.3 and Addressables 1.18.x.

Video demonstration

Download

11 Likes

awesome

1 Like

Another fantastic tool Peter! Thanks, will definitely give this a try.

1 Like

Awesome tool, thank you! I ran into a small issue with apparently some of my file names have “,” in them, which trips up the parsing, but I really shouldn’t have commas in my file names anyway. I renamed those files and works great!

1 Like

The buildlayout.txt file uses comma as a separator for lists. Unfortunately it doesn’t put strings in quotes, so I can’t differentiate between a comma in a filename and a comma that’s used to indicate a new list item. :frowning:

Another issue is that some regions don’t use the period symbol . as decimal separator, but a comma ,. The generated buildlayout.txt file uses comma as string delimiter, but the size uses a comma as decimal separator too in some regions/locales. BuildLayout Explorer is unable to properly parse it in this case. :frowning:

Thank you, it works perfectly. It should be in Unity itself as builtin.

2 Likes

great tool, but I found that your buildlayout file reader is not very good, I rewrote reader

9193169–1281383–AddressableBuildLayoutReader.cs (16.3 KB)

  • The name ‘Utils’ does not exist in the current context

Also, would be really helpful to make a quick intro how to actually use it, because its not really helpful to post this random bit of code here.

be nice if this was updated to read .json inputs, since Addressables moved to this format.

I started implementing JSON support a while ago, and it’s almost finished. There was just one issue that remained, as far as I know, but I can’t recall it anymore. I will try to complete the work in the next few weeks.

https://github.com/pschraut/UnityAddressablesBuildLayoutExplorer/commit/a8aba31c2c99452fb5f08a5cfd8f6d435499ce4e

2 Likes