Search Unity

Question Can I use the Localization Texture with Sprite Atlas?

Discussion in 'Localization Tools' started by NTS-eunho, Feb 10, 2023.

  1. NTS-eunho

    NTS-eunho

    Joined:
    Feb 1, 2023
    Posts:
    3
    I'm using late binding after setting Atlas to address.
    can I use the Localization Texture in this situation?

    as far as I know, if you use it like this, the texture is tied to the AssetTable, set to addressable, and the resources are loaded in duplicate.

    Is there any way I can use it?
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    Can you provide some more details?
    What do you mean by late binding?
    What resources are loaded in duplicate?
     
  3. NTS-eunho

    NTS-eunho

    Joined:
    Feb 1, 2023
    Posts:
    3
    sorry. I didn't explain enough

    https://docs.unity3d.com/2021.3/Documentation/Manual/SpriteAtlasDistribution.html

    Atlas is not included in the build and is loading through addressable when I need it.

    To get to the point, the problem I'm facing is that we use Sprite Atlas as addressable, so we don't have to designate the Sprite included in Sprite Atlas as addressable.

    However, SpriteTrackObject specifies the used Sprite as addressable.
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    Sorry I don't fully understand. I'm not very familiar with the sprite atlas. If we are doing something wrong to it then could you please file a bug report?
     
  5. NTS-eunho

    NTS-eunho

    Joined:
    Feb 1, 2023
    Posts:
    3
    No, thank you for your answer.
    I think using TrackedObject well will solve the problem.
     
    karl_jones likes this.