Texture Streaming + Scenes in Asset Bundle

Hello,

We have the following setup:

  • Unity 2018.4.28f1.
  • Project that uses Unity’s Texture Streaming system.
  • Asset Bundle that includes several scenes (and their dependencies: textures with Streaming Mip Maps enabled), using Chunk Compression.

We load the Asset Bundle, then load the scene and see that the dependent textures that are loaded with it do not use the Texture Streaming system.
Meanwhile, if we modify the project to not use the Scenes Asset Bundle and instead include the scene in the Build and load this scene we see that textures properly use the Texture Streaming system.

This issue is also reproducible if you modify Unity’s Vikings Village project, include its scene in an Asset Bundle and load it from there.

For the record:
We load Asset Bundles using AssetBundle.LoadFromFileAsync and do not Unload them.

  • Is this a known issue / limitation?
  • If not, how do we configure Scene Asset Bundles for the included textures to use the Streaming System?

Thanks!

Hi!

I think you need the new Scriptable Build Pipeline to have streaming working with textures in a ‘scene Assetbundle’. Alternatively, putting your streamable textures in a separate Assetbundle (so without scenes), should also work.

Hello,

Thanks BartPieters.

I can confirm that using the Scriptable Build Pipeline, streaming works with textures loaded from a ‘scenes Asset Bundle’.

1 Like