Search Unity

How to create 4000 over ASTC textures asset bundle

Discussion in 'iOS and tvOS' started by yoh-mizutani, Oct 15, 2019.

  1. yoh-mizutani

    yoh-mizutani

    Joined:
    Sep 5, 2018
    Posts:
    5
    Hi,
    My project to create an iOS App made with Unity must have over 4000 textures.
    A texture is little size, like 300 x 200 pixel.
    I want to be able to get these textures as an asset bundle.

    How to make ASTC texture asset bundle I know is below:
    1. Drop the jpeg file under the Assets folder in my unity project.
    2. Change and Apply Inspector of the jpeg as below:
      • Texture Type : Sprite (2D and UI)
      • Override for iOS : check
      • Format : RGB(A) Compressed ASTC 4x4 block (or other ASTC format)
    3. - Drop the texture to Addressables group
    loop over 4000 ...

    This procedure is a manual method, and it is very hard to do over 4000...

    Please let me know if there is a more efficient procedure.
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
    Select the folder in which all those textures are stored and use the asset bundle dropdown in the inspector to select/create an asset bundle. This way everything in that folder will end up in that bundle.