Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Bug Old Addressable reference

Discussion in 'Localization Tools' started by Andrew-Kite, Jun 25, 2019.

  1. Andrew-Kite

    Andrew-Kite

    Joined:
    Oct 16, 2014
    Posts:
    34
    I modified the name of a localization string table from UITranslations to UITranslations_Generic, and while the menus are displaying the correct text when toggling through the different languages I end up getting errors which reference the old table name.

    It looks to be trying to load the old table in the background, and when switching languages, attempting to unload an object which does not exist.

    I've looked at the menu in question to make sure no LocalizeString components reference the old name, and checked the Addressable Assets. Everything looks fine from what I can see.

    Is there something cached that I am able to delete?

    Attached is the console output when navigating to the first menu with some LocalizeString components attached to a few GameObject with Text Components. The warning appears when I toggle the Language.

    Capture.JPG


    Localization was working perfectly prior to the name change.
    Thanks in advance!
     
    karl_jones likes this.
  2. Andrew-Kite

    Andrew-Kite

    Joined:
    Oct 16, 2014
    Posts:
    34
    Well... Looks like I over looked a stray LocalizeString that got reimplemented from version control.
    It had it's String Reference set to None.

    If possible could we have a warning logged to console in future updates. Perhaps "[GameObject] missing string reference".

    Not sure if I can delete a thread, but maybe it will help others if they come across this.
     
    karl_jones likes this.
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,275
    Thanks Andrew. Ill make a note of the suggestion.