Getting a BuildReport when building asset bundles

When building a player from scripts (BuildPlayer), we get back a BuildReport object.

Is it possible to add the same for when building asset bundles (e.g when calling this method:
Unity - Scripting API: BuildPipeline.BuildAssetBundles)

The assetbundlemanifest has all details about the bundles that were built (hashes etc.), what other info are you looking for?

For more granular control over what gets built you could upgrade to the scriptable build pipeline https://docs.unity3d.com/Packages/com.unity.scriptablebuildpipeline@1.5/manual/index.html

I was thinking about getting details about build times, assets included, sizes, etc.

1 Like