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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Localization not working on Google Play build

Discussion in 'Localization Tools' started by Calvares, Aug 22, 2021.

  1. Calvares

    Calvares

    Joined:
    Jul 11, 2018
    Posts:
    17
    So, I've tested localization on Android using Build and Run through USB and it works great. But when I'm making an App bundle and uploading it to the Google Play - localization is not working anymore (I'm testing the app using Internal test and the app is in review rn, if it's important).
    I've built addressables assets both on "USB" and Google Play builds.
    What am I missing?
    Thanks in advance.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    Do you get any errors? Can you share the log file?
     
  3. Calvares

    Calvares

    Joined:
    Jul 11, 2018
    Posts:
    17
    Sorry for not answering for so long, I forgot to say that the problem was with Localization Settings asset. By default it's not ticked as addressable, that was the problem. I ticked it, rebuilt addressables and now it works.
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    Hmm it should not need to be addressable, that sounds like something else. We include the localization settings in the build as a preload asset.
     
  5. Calvares

    Calvares

    Joined:
    Jul 11, 2018
    Posts:
    17
    Hm, do you think marking it as an addressable could be an issue later?
     
  6. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    I think it will likely duplicate the asset and the addressable one will never be used. Other than that it should be fine
     
  7. Calvares

    Calvares

    Joined:
    Jul 11, 2018
    Posts:
    17
    Okay, I think I'll stick with this "solution" until something goes wrong, because I haven't found another way to fix the problem :D
     
    karl_jones likes this.