Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

TextMesh Pro How to exclude (or replace) a TMP Font's sub-asset Atlas from a Build?

Discussion in 'UGUI & TextMesh Pro' started by HandsomeHarvey, Apr 25, 2024.

  1. HandsomeHarvey

    HandsomeHarvey

    Joined:
    Mar 14, 2018
    Posts:
    3
    I have created a Bitmap atlas (extracted from the sub-asset atlas) which is being referenced by a sub-asset material, on a TMP Font asset.

    All assets in Resources (where TMP fonts are placed to make use of tags) are included in a final build. However, I am not making use of the sub-asset atlas.

    In order to not have an unused texture included in the final build, what are my options?
    1. Is it possibly to replace the sub-asset atlas texture with my bitmap texture?
    2. Is it possible to maybe delete or drastically reduce the size of the sub-atlas texture?
    3. Another option?
    4. Or perhaps this is simply not possible in any capacity, at the moment?