Search Unity

What is the BestPractice for displaying the size of the Asset generated at build time?

Discussion in 'Addressables' started by kyubuns, Apr 13, 2021.

  1. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    138
    I am using Addressable with LocalBuildPath (which is automatically copied to StreamingAssets).
    Also, for some reasons, I use Hash for Bundle Naming.

    I want to keep an ongoing record of what was making the binary larger during the build.
    GetDownloadSize exists in the API, I think the size of the asset is recorded after the build, but how to get it from the EditorScript is the BestPractice?