Search Unity

Bug Build shows an old value a table entry had

Discussion in 'Localization Tools' started by NewMagic-Studio, May 26, 2023.

  1. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    454
    Hi,
    Build is showing me an old string value i had set in the past, now the string is different but still the build shows the wrong value. In editor works fine and shows the actual value. I tried running addressables analyzer to fix any errors but didn't work.
     
  2. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    454
    In the end i had to delete the wrong table and create a new one to solve it
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,292
    Did you rebuild the addressable assets? It sounds like you had an old build.
     
  4. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    454
    No, i deleted the old build completely and made a new build with the same localization addressables, i just deleted the old build and made a new one, somehow Unity had the old value cached even though the tables showed the actual values in the editor, and in editor worked fine
     
  5. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,292
    This may be due to asset bundle caching.
    https://docs.unity3d.com/2023.1/Documentation/Manual/AssetBundles-Cache.html

    Try calling Caching.ClearCache next time it happens.
     
    NewMagic-Studio likes this.