Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Showcase Addressables BuildLayout Explorer for Unity

Discussion in 'Addressables' started by Peter77, Aug 27, 2021.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,454
    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.

    image.png

    ### 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

    https://github.com/pschraut/UnityAddressablesBuildLayoutExplorer
     
    Last edited: Aug 27, 2021
  2. sophiepeithos

    sophiepeithos

    Joined:
    Sep 10, 2014
    Posts:
    59
    awesome
     
    Peter77 likes this.
  3. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,122
    Another fantastic tool Peter! Thanks, will definitely give this a try.
     
    Peter77 likes this.
  4. LilMako17

    LilMako17

    Joined:
    Apr 10, 2019
    Posts:
    43
    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!
     

    Attached Files:

    Peter77 likes this.
  5. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,454
    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. :(

    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. :(
     
  6. Ceylan12

    Ceylan12

    Joined:
    Dec 24, 2016
    Posts:
    113
    Thank you, it works perfectly. It should be in Unity itself as builtin.
     
    Samuel411 and Peter77 like this.
  7. hoainam_hopper

    hoainam_hopper

    Joined:
    Mar 12, 2022
    Posts:
    2
    great tool, but I found that your buildlayout file reader is not very good, I rewrote reader
     

    Attached Files: