Search Unity

Question There is no texture data available to upload error when using asset bundles

Discussion in 'Asset Bundles' started by majidarif, Nov 4, 2022.

  1. majidarif

    majidarif

    Joined:
    Sep 11, 2015
    Posts:
    26
    Hello,

    I have an issue where when using asset bundles my game has a bug with textures. The bundles are loaded from a remote URL over the internet. Built using the AssetBundle Browser tool by Unity. I only have 1 bundle that contains all scenes.

    upload_2022-11-4_9-21-24.png

    This are the exact errors I'm getting:
    upload_2022-11-4_9-21-47.png

    This are my options for building the bundles:
    upload_2022-11-4_9-22-21.png

    And this is how my game looks with this error. (note this error doesn't happen if I just build the scenes directly, not using asset bundles)

    upload_2022-11-4_9-23-11.png

    I can't find any resource about this issue while googling so I'm a bit stuck on this.

    Hopefully someone can shed some light on why this could be happening? The only way to fix it I found was rename the asset bundle to another name, rebuild, but that would only fix it that one time, when I rebuild the bundle when I have changes, this happens again. So every time I update my bundle, I change the bundle name.
     
    Walter_Hulsebos and trombonaut like this.