Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Localization Addressables not found in the build

Discussion in 'Localization Tools' started by mafx09, Dec 7, 2021.

  1. mafx09

    mafx09

    Joined:
    Feb 24, 2020
    Posts:
    13
    Hi,

    I have been using Localization for a while and now after organizing my project files a bit, the device doesn't build the addressables anymore. I think it has something to do with that, but I have tried cleaning and rebuilding the addressables, and checking the path in the settings.

    There are no errors when I build and everything works when running.
    The localized string components work, but localized sounds do not load in one of the scenes.

    Any tips on what I can do? :) Thanks in advance!

    This is how I am getting the files from the tables.
    I am also using Localize Audio Clip Event which is not working either.

    upload_2021-12-7_14-50-58.png
    upload_2021-12-7_14-50-36.png
     

    Attached Files:

  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,226
    What do you mean it doesn't build the addressables?
    Can you try running the addressable analyzers? There are 3 for localization. They are in the addressables window under tools menu.
     
  3. mafx09

    mafx09

    Joined:
    Feb 24, 2020
    Posts:
    13
    I mean making a build of the addressable groups

    This is the result: I am receiving a lot of Check Scene to Addressable Duplicate Dependencies. How do I fix this? Does it prevent the items from being loaded on the device? upload_2021-12-7_15-33-31.png
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,226
    That looks fine. Do you get an Audio Clip inside of GetAudioMessage?
    Try printing out the result of .Result with Debug.Log to see if you are getting the file or not.
     
  5. mafx09

    mafx09

    Joined:
    Feb 24, 2020
    Posts:
    13
    Yes, it works fine in the Editor. No errors or different results

    upload_2021-12-8_9-17-32.png
     
  6. mafx09

    mafx09

    Joined:
    Feb 24, 2020
    Posts:
    13
    I have tried making a new table with the same files and it still doesn't work
     
  7. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,226
    What happens in the player? Is the audio source enabled?
     
  8. mafx09

    mafx09

    Joined:
    Feb 24, 2020
    Posts:
    13
    The player has to pick up an object.
    This object has an enabled audio source and should play the localized clips at some point, but it freezes at that moment in the build.
     
  9. mafx09

    mafx09

    Joined:
    Feb 24, 2020
    Posts:
    13
    upload_2021-12-8_11-11-2.png

    I found a solution.I don't know why, but it works:
    Instead of using just TableEntryReference, I use TableEntryReference.KeyId
     
  10. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,226
    That sounds like a bug. Could you please file a bug report?
     
  11. mafx09

    mafx09

    Joined:
    Feb 24, 2020
    Posts:
    13
    Yes. I am sending it
    The fix did not work again
     
    karl_jones likes this.