AssetStudio
AssetStudio copied to clipboard
Assets in Streamed Scene Asset Bundles aren't given the specified container path
I recently came acrosss a few Asset Bundles, whose container path is usually a .unity file and which have the IsStreamedSceneAssetBundle flag set to True and that are known in the Unity documentation as Streamed Scene Asset Bundles, in which ExplicitDataLayout is set to 0 but instead of specifying the PreloadTable in the AssetBundle asset, there is a separate PreloadData asset and in the container map of the AssetBundle asset preloadIndex and preloadSize are both set to 0. The container path is nonethelss specified in said container map though, so all the assets in the bundle are supposed to be given said container path. However, AssetStudio is currently not doing this likely due to preloadSize being set to 0. If possible, this behavior should be fixed so that the assets in the bundle are given the proper container path.
After a few more checks, rather than a specific case, it rather seems that more in general Streamed scene AssetBundles aren't fully supported yet. The official documentation, that shows the structure of a Streamed scene AssetBundle until version 5.5 (under Working with Unity -> Advanced Development -> AssetBundles -> Asset Bundle Internal Structure), points that Streamed scene AssetsBundles always have said structure with a separate PreloadData. Still, since this peculiar type of AssetBundles nonethless features a container path that is currently not used by AssetStudio as the container path of the assets in the bundle, I updated the title of the issue.