Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Reference in a Material and asset bundle

Discussion in 'Asset Bundles' started by Nola_Totoc, Feb 15, 2019.

  1. Nola_Totoc

    Nola_Totoc

    Joined:
    Jun 25, 2018
    Posts:
    6
    If I put a material in an asset bundle with the AssetBundle Browser, the referenced textures are added in the asset bundle. It's normal. But, there are also "hidden" textures that are added in the asset bundle while these textures are useless. I would like to remove these textures.

    For example :
    - create a new material with standard shader.
    - Put a texture in Albedo.
    - Save.
    - Change the shader for Unlit/Color (With no texture)
    - Save.
    - Put the material in a new asset bundle.
    - Observe that the texture put in the Albedo is in the Asset Bundle.