Search Unity

Bug Texture Streaming + Scenes in Asset Bundle

Discussion in 'Asset Bundles' started by BlitWorks, Nov 9, 2020.

  1. BlitWorks

    BlitWorks

    Joined:
    Jan 12, 2016
    Posts:
    14
    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.
    Textures do not use Crunch compression.

    - 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!
     
  2. Rob-Fireproof

    Rob-Fireproof

    Joined:
    Dec 18, 2012
    Posts:
    56
    Hi there. Did you ever find a solution to this? We're running into what I think is the same problem in Unity 2021.2
     
  3. BlitWorksGames

    BlitWorksGames

    Joined:
    Feb 24, 2022
    Posts:
    1