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.
  2. Dismiss Notice

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:
    432
    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:
    432
    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:
    7,820
    Did you rebuild the addressable assets? It sounds like you had an old build.
     
  4. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    432
    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:
    7,820
    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.